From 90b18bb98cac0e692388ec1068774bd1405c05ed Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 27 Jan 2021 14:44:15 +0100 Subject: [PATCH] Provide Github Action workflow to compile test the tasks --- .github/workflows/build.yml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 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..b7bc206 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,41 @@ +name: build-test + +on: + push: + branches: + - master + pull_request: + branches: + - '*' + schedule: + - cron: '0 3 * * 5' + +jobs: + build-test: + runs-on: ubuntu-latest + container: riot/riotbuild:latest + strategy: + matrix: + board: + - native + - samr21-xpro + - pda-d-01-kw2x + steps: + - uses: actions/checkout@v2 + - name: build + env: + WERROR: 0 # some variables are not used intentionally + BOARD: ${{ matrix.board }} + run: | + make -C task-01 -j all + make -C task-02 -j all + make -C task-03 -j all + make -C task-04 -j all + make -C task-05 -j all + # task-07 + make -C RIOT/examples/gnrc_minimal -j all + make -C RIOT/examples/gnrc_networking -j all + make -C task-06 -j all + make -C task-08 -j all + make -C task-09 -j all +