commit afd6a5a1189749d68e216f56c1ad43ba76873a32 parent 51fb012dc41bb45312c7f10f839361dab716c070 Author: Frederic Cambus <fred@statdns.com> Date: Thu, 28 Jan 2021 16:26:16 +0100 Add initial GitHub Actions configuration file. Diffstat:
A | .github/workflows/build.yaml | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml @@ -0,0 +1,23 @@ +name: "Build and run tests" + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -qy uthash-dev + - name: Build & Test + uses: ashutoshvarma/action-cmake-build@master + with: + build-dir: ${{ runner.workspace }}/build + cc: gcc + build-type: Release + run-test: true + install-build: true + parallel: 2