cicd changes #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test_linux: | |
name: Test Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh | |
chmod a+x rustup.sh | |
./rustup.sh -y | |
- run: rustup install nightly | |
- run: rustup override set nightly | |
- run: rustc --print target-list | |
- run: sudo apt-get update && sudo apt-get install libasound2-dev | |
- run: cargo check --locked | |
- run: cargo test --locked | |
- run: cargo build --locked |