File tree 1 file changed +21
-14
lines changed
1 file changed +21
-14
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ rust-toolchain : [ "stable", "nightly-2024-12-21" ]
12
15
steps :
13
- - uses : actions/checkout@v4
14
- - name : Install dependencies
15
- run : sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
16
- - name : Install nightly
17
- uses : actions-rs/toolchain@v1
18
- with :
19
- toolchain : nightly-2024-07-30
20
- override : true
21
- default : nightly-2024-07-30
22
- components : rustfmt, clippy, rust-src
23
- target : wasm32-unknown-unknown
24
- - uses : Leafwing-Studios/cargo-cache@v2
25
- - name : Make all
26
- run : make all
16
+ - uses : actions/checkout@v4
17
+
18
+ - name : Install dependencies
19
+ run : sudo apt-get update && sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
20
+
21
+ - name : Install Rust toolchain
22
+ uses : actions-rs/toolchain@v1
23
+ with :
24
+ toolchain : ${{ matrix.rust-toolchain }}
25
+ override : true
26
+ default : ${{ matrix.rust-toolchain }}
27
+ components : rustfmt, clippy, rust-src
28
+ target : wasm32-unknown-unknown
29
+
30
+ - uses : Leafwing-Studios/cargo-cache@v2
31
+
32
+ - name : Make all
33
+ run : make all
You can’t perform that action at this time.
0 commit comments