]> git.lizzy.rs Git - enumset.git/blobdiff - .github/workflows/test.yml
Move and rename Github Actions workflow
[enumset.git] / .github / workflows / test.yml
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644 (file)
index 0000000..ba3ae07
--- /dev/null
@@ -0,0 +1,20 @@
+name: Test
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    strategy:
+      matrix:
+        rustver: ["stable", "beta", "nightly", "1.36.0"]
+        args: ["", "--features serde", "--features alloc", "--features std", "--release --all-features"]
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+    - uses: actions-rs/toolchain@v1
+      with:
+        toolchain: ${{ matrix.rustver }}
+    - uses: actions-rs/cargo@v1
+      with:
+        command: test
+        args: ${{ matrix.args }}