diff --git a/.forgejo/workflows/rust.yml b/.forgejo/workflows/rust.yml new file mode 100644 index 0000000..4f21c22 --- /dev/null +++ b/.forgejo/workflows/rust.yml @@ -0,0 +1,15 @@ +on: [push, pull_request] + +name: Continuous integration + +jobs: + build_and_test: + name: Build and test + runs-on: ubuntu-latest + steps: + - run: apt update + - run: apt install libasound2-dev libdbus-1-dev libpulse0 -y + - uses: actions/checkout@v4 + - uses: https://github.com/dtolnay/rust-toolchain@stable + - run: cargo build --verbose --all-features + - run: cargo test --verbose --all-features \ No newline at end of file