aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2022-10-26 16:18:15 +0200
committerAndreas Grois <andi@grois.info>2022-10-26 16:18:15 +0200
commita70149839c785067d12cbc5e85cc5dbd483d6b39 (patch)
tree32562895fded313cbc5ae56744ace583f703f868
parent8898579c9ea369b2a130399d7c46ea0a6f3ebda8 (diff)
parentdaa045ab422062692705ff63c1a5618c9bef9801 (diff)
Merge branch 'main' into feature/heap-allocation-free-base-conversion
-rw-r--r--.github/workflows/rust.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..ad056ea
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,27 @@
+name: Rust
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests for default features
+ run: cargo test --verbose
+ - name: Run tests for no features
+ run: cargo test --verbose --no-default-features
+ - name: Run tests for all features
+ run: cargo test --verbose --all-features
+