Skip to content

Commit 56122cc

Browse files
committed
Run CI for both Rust Stable + Nightly
1 parent a4102c6 commit 56122cc

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

.github/workflows/ci.yml

+21-14
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@ env:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
rust-toolchain: [ "stable", "nightly-2024-12-21" ]
1215
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

0 commit comments

Comments
 (0)