From 18a8be0e1063359a382ad3cdbf7d117a7d7d50cc Mon Sep 17 00:00:00 2001 From: Aron Heinecke Date: Sat, 22 May 2021 18:49:24 +0200 Subject: [PATCH] add build CI Signed-off-by: Aron Heinecke --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ec43dba --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Rust + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Install latest rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + default: true + override: true + + - name: Test + run: cargo test + + - name: Build + run: cargo build --all --release \ No newline at end of file