aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-06-03 22:00:19 -0400
committerLibravatar Silas Bartha <[email protected]>2024-06-03 22:00:19 -0400
commit5560d5d092a4849cfe1ce63d85cef57c07ce8d8b (patch)
tree9c3f9f6c72c437b5ef10d4428dfdfbfd6e12c51c /.github/workflows/rust.yml
parentef6c2954156b2b0cf4abfe583d8faaf546f4e7c4 (diff)
Added docs + renamed
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..e38739d
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,24 @@
+name: Rust
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Install Dependencies
+ run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose