|
19 | 19 | - platform: 'macos-latest' # for Arm based macs (M1 and above). |
20 | 20 | args: '--target universal-apple-darwin' |
21 | 21 | - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. |
22 | | - args: '--target aarch64-unknown-linux-glibc' |
| 22 | + args: '--target aarch64-unknown-linux-gnu' |
23 | 23 | - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. |
24 | | - args: '--target x86_64-unknown-linux-glibc' |
| 24 | + args: '--target x86_64-unknown-linux-gnu' |
25 | 25 | #- platform: 'windows-latest' |
26 | 26 | # args: '' |
27 | 27 |
|
|
48 | 48 | # # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. |
49 | 49 | # targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} |
50 | 50 |
|
51 | | - - name: install dependencies (ubuntu only) |
52 | | - if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. |
| 51 | + - name: install dependencies (mac only) |
| 52 | + if: matrix.platform == 'macos-latest' # This must match the platform value defined above. |
53 | 53 | run: | |
54 | 54 | rustup target add aarch64-apple-darwin |
55 | 55 | rustup target add x86_64-apple-darwin |
|
59 | 59 | run: | |
60 | 60 | sudo apt-get update |
61 | 61 | sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf |
62 | | - rustup target add aarch64-unknown-linux-glibc |
63 | | - rustup target add x86_64-unknown-linux-glibc |
| 62 | + rustup target add aarch64-unknown-linux-gnu |
| 63 | + rustup target add x86_64-unknown-linux-gnu |
64 | 64 | # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2. |
65 | 65 | # You can remove the one that doesn't apply to your app to speed up the workflow a bit. |
66 | 66 |
|
|
0 commit comments