-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 905 Bytes
/
check-stable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Check on Rust stable
on:
push:
branches: ["main"]
paths-ignore:
- "**.md"
- "docs/**"
pull_request:
branches: ["main"]
paths-ignore:
- "**.md"
- "docs/**"
jobs:
check-stable:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install build tools and ALSA dependencies (Linux only)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update && sudo apt-get install -y libasound2-dev
- name: Install Rust stable
run: rustup toolchain install stable --profile minimal
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Compile on ${{ matrix.os }} with Rust stable
run: |
cargo check --verbose