Skip to content

Commit

Permalink
macos arm64 test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed May 6, 2023
1 parent f9a14d4 commit 4b6624c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/alpha-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,21 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: "Apple silicon target"
if: matrix.NAME == 'mac'
run : |
rustup target add aarch64-apple-darwin
- name: Install webkit2gtk (ubuntu only)
if: matrix.NAME == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install app dependencies and build it
if: matrix.NAME == 'linux' || matrix.NAME == 'linux'
run: npm ci && npm run build:alpha
- name: Install app dependencies and build it
if: matrix.NAME == 'mac'
run: npm ci && npm run build:alpha -- --target universal-apple-darwin
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4b6624c

Please sign in to comment.