aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-05-14 16:47:20 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-05-14 16:47:36 -0500
commit041cb7988769c1c93adfb8c47b03e77ae2a4dfa6 (patch)
treee445d8a4c27387b062afa73b78fdd34f825adf67 /.github/workflows/rust.yml
parentAdd Go (diff)
downloadlocusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.tar
locusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.tar.gz
locusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.tar.bz2
locusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.tar.lz
locusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.tar.xz
locusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.tar.zst
locusts-041cb7988769c1c93adfb8c47b03e77ae2a4dfa6.zip
Add Rust
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--.github/workflows/rust.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..712eb10
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,26 @@
+name: Rust
+
+on:
+ push:
+ paths:
+ - "**.c"
+ - "**.h"
+ pull_request:
+ paths:
+ - "**.c"
+ - "**.h"
+
+jobs:
+ rust:
+ name: Rust Builds
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - uses: actions-rust-lang/setup-rust-toolchain@v1
+ - name: Test
+ run: cargo test --verbose