summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-06-16 09:15:08 +0000
committerSanto Cariotti <santo@dcariotti.me>2025-06-16 09:15:08 +0000
commit79987ba53f228d27875c6d5e1bb38c76a40e7d0d (patch)
tree74325fcb266ab3ef8758bf2f46c4508042b02e47
parent3a2697d9437a649d47ec1297748a89e1de683f4d (diff)
Add CI
-rw-r--r--.github/workflows/ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..256d8d2
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,23 @@
+name: Cargo Build & Test
+
+on:
+ push:
+ pull_request:
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build_and_test:
+ name: Build & test
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ toolchain:
+ - stable
+
+ steps:
+ - uses: actions/checkout@v4
+ - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
+ - run: cargo build --verbose
+ - run: cargo test --verbose --all-features