File tree 2 files changed +36
-2
lines changed
2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- platform : [macos-latest, ubuntu-22.04, windows-latest]
16
+ include :
17
+ - platform : ' macos-latest' # for Arm based macs
18
+ args : ' --target aarch64-apple-darwin'
19
+ - platform : ' macos-latest' # for Intel based macs.
20
+ args : ' --target x86_64-apple-darwin'
21
+ - platform : ' ubuntu-22.04'
22
+ - platform : ' ubuntu-22.04-arm' # for Arm based linux.
23
+ - platform : ' windows-latest'
17
24
runs-on : ${{ matrix.platform }}
18
25
19
26
steps :
27
34
sudo apt-get update
28
35
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev \
29
36
libjavascriptcoregtk-4.1-dev libsoup-3.0-dev
37
+
38
+ - name : Install dependencies (ubuntu-arm only)
39
+ if : matrix.platform == 'ubuntu-22.04-arm'
40
+ # You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
41
+ run : |
42
+ sudo apt-get update
43
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev xdg-utils
30
44
31
45
- name : Rust setup
32
46
uses : dtolnay/rust-toolchain@stable
52
66
uses : tauri-apps/tauri-action@v0
53
67
env :
54
68
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69
+ with :
70
+ args : ${{ matrix.args }}
Original file line number Diff line number Diff line change 14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
- platform : [macos-latest, ubuntu-22.04, windows-latest]
17
+ include :
18
+ - platform : ' macos-latest' # for Arm based macs (M1 and above).
19
+ args : ' --target aarch64-apple-darwin'
20
+ - platform : ' macos-latest' # for Intel based macs.
21
+ args : ' --target x86_64-apple-darwin'
22
+ - platform : ' ubuntu-22.04'
23
+ args : ' '
24
+ - platform : ' ubuntu-22.04-arm' # for Arm based linux.
25
+ args : ' '
26
+ - platform : ' windows-latest' # for Arm based windows.
27
+ args : ' --target x86_64-pc-windows-msvc'
18
28
runs-on : ${{ matrix.platform }}
19
29
20
30
steps :
27
37
run : |
28
38
sudo apt-get update
29
39
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
40
+
41
+ - name : Install dependencies (ubuntu-arm only)
42
+ if : matrix.platform == 'ubuntu-22.04-arm'
43
+ # You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
44
+ run : |
45
+ sudo apt-get update
46
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev xdg-utils
30
47
31
48
- name : Rust setup
32
49
uses : dtolnay/rust-toolchain@stable
59
76
releaseBody : ' See the assets to download and install this version.'
60
77
releaseDraft : true
61
78
prerelease : false
79
+ args : ${{ matrix.args }}
You can’t perform that action at this time.
0 commit comments