From 0f766efadf17ae893bfb69efc52859400757dc4d Mon Sep 17 00:00:00 2001 From: Marcin Borowicz Date: Tue, 11 Jun 2024 04:26:16 +0200 Subject: [PATCH] add github workflow --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..aa5ead9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Build + +on: + push: + branches: [ main, develop ] + pull_request: + branches: [ main, develop ] + +defaults: + run: + shell: bash + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Clone + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Configure + run: cmake -B build . + + - name: Build + working-directory: build + run: make + + - name: Run Tests + working-directory: build + run: make test