From b8df4e278a3b4b20c3ca2b1127b6017fa4a50415 Mon Sep 17 00:00:00 2001 From: Jer Date: Sat, 4 Nov 2023 08:19:19 +1100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3b6d1a3..0676543 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,15 +13,17 @@ jobs: build: runs-on: ubuntu-latest - + steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-unknown-linux-gnu + - name: install dependencies + run: | + sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev - - name: Check - run: cargo check --verbose + - name: Build + run: | + cargo build --release --verbose - - name: Build - run: cargo build --verbose - - - name: Run tests - run: cargo test --verbose