From 37e306e11f032b3848bac7020d72001660d50ab7 Mon Sep 17 00:00:00 2001 From: Thomas Koehler Date: Sat, 17 Feb 2024 10:55:44 +0100 Subject: [PATCH] Create build.yml --- .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 00000000..0de315af --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build and Test + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Install cmake + run: sudo apt-get install cmake + - name: Build + run: cargo build --all-features --verbose + - name: Run tests + run: cargo test --all-features --verbose