From 0937f017807bd45f5cfe8cee4e71bcec008a2030 Mon Sep 17 00:00:00 2001 From: Ole Morud <82065181+olemorud@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:50:35 +0200 Subject: [PATCH] Add CI --- .github/workflows/build-and-test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build-and-test.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 0000000..acef4b0 --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,23 @@ +name: Build and test + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: make (BUILD=debug) + run: make + + - name: make (BUILD=release) + run: make BUILD=release + + - name: Run tests + run: ./test.sh