changeset 95:eb1cd07d7830

GH Actions: Add test action
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 10 Dec 2020 09:01:41 +0100
parents 9782e6ccbfe5
children 47dc9dd7194b
files .github/workflows/test.yml
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.github/workflows/test.yml	Thu Dec 10 09:01:41 2020 +0100
@@ -0,0 +1,17 @@
+on: [push]
+
+name: CI
+
+jobs:
+  build_and_test:
+    name: Rust project
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions-rs/toolchain@v1
+        with:
+          toolchain: stable
+      - uses: actions-rs/cargo@v1
+        with:
+          command: build
+          args: --release --all-features