blob: 47c83b5c6e1312292d04b5a47bcdf74a7ea78553 (
plain)
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
|
name: Rust CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Build
run: |
sudo apt install -y libx11-dev libasound2-dev
cargo build --verbose
# - name: Run tests
# run: cargo test --verbose
# - name: Run Clippy
# run: cargo clippy -- -D warnings
# - name: Run Format
# run: cargo fmt --all --check
|