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
+ args : ' '
23
+ - platform : ' ubuntu-22.04-arm' # for Arm based linux.
24
+ args : ' '
25
+ - platform : ' windows-latest'
26
+ args : ' '
17
27
runs-on : ${{ matrix.platform }}
18
28
19
29
steps :
27
37
sudo apt-get update
28
38
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev \
29
39
libjavascriptcoregtk-4.1-dev libsoup-3.0-dev
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
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
You can’t perform that action at this time.
0 commit comments