Skip to content

Commit

Permalink
chore(ci): add cross configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed Aug 27, 2023
1 parent 823d077 commit 9a05f0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/beta-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
if: matrix.use-cross == true
run: |
cd ./src-tauri
cross install tauri-cli
cross tauri build --target ${{ matrix.target }}
- name: Build using pnpm
Expand All @@ -93,4 +94,4 @@ jobs:
pnpm tauri build --target ${{ matrix.target }}
- run: |
ls ./target/release
ls ./target/**/*
2 changes: 2 additions & 0 deletions src-tauri/Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.aarch64-unknown-linux-gnu]
pre-build = ["apt-get install -y libwebkit2gtk-4.0-dev build-essential wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev"]

0 comments on commit 9a05f0e

Please sign in to comment.