Skip to content

Commit

Permalink
Tauri Build Action
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz authored Oct 11, 2024
1 parent 3da4b6a commit b72fdde
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: 'Tauri Build'

on:
pull_request:
push:
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest'
args: '--target aarch64-apple-darwin'
- platform: 'ubuntu-22.04'
args: ''
- platform: 'windows-latest'
args: ''

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: Install Dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install Frontend Dependencies
run: bun install

- uses: tauri-apps/tauri-action@v0
with:
args: ${{ matrix.args }}

0 comments on commit b72fdde

Please sign in to comment.