From c472322aadddccdd03ff64bcd0438dc1f916d2f4 Mon Sep 17 00:00:00 2001 From: amai2012 Date: Thu, 13 Feb 2020 09:16:53 +0100 Subject: [PATCH] Add GitHub actions (#2535) * Initial version of GitHub actions script: compile cppcheck and "make check" on ubuntu --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..8e019a5dc --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions +# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners +name: CI + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build + run: | + make -j2 + + - name: Test + run: | + make -j2 check