Skip to content

Commit

Permalink
Run CI for both Rust Stable + Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
victorb committed Dec 23, 2024
1 parent a4102c6 commit 56122cc
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,25 @@ env:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust-toolchain: [ "stable", "nightly-2024-12-21" ]
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- name: Install nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-07-30
override: true
default: nightly-2024-07-30
components: rustfmt, clippy, rust-src
target: wasm32-unknown-unknown
- uses: Leafwing-Studios/cargo-cache@v2
- name: Make all
run: make all
- uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
override: true
default: ${{ matrix.rust-toolchain }}
components: rustfmt, clippy, rust-src
target: wasm32-unknown-unknown

- uses: Leafwing-Studios/cargo-cache@v2

- name: Make all
run: make all

0 comments on commit 56122cc

Please sign in to comment.