From 14a843e825ebca394b406d90a68c15ecfa3fc49b 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 | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 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..7b99d81 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,44 @@ +name: build-test + +on: + push: + branches: + - master + pull_request: + branches: + - '*' + schedule: + - cron: '0 3 * * 5' + +jobs: + build-test: + runs-on: ubuntu-latest + strategy: + matrix: + board: + - native + - samr21-xpro + - pba-d-01-kw2x + env: + BUILD_IN_DOCKER: 1 + WERROR: 0 # some variables are not used intentionally + BOARD: ${{ matrix.board }} + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Fetch riot/riotbuild Docker image + run: docker pull riot/riotbuild:latest + - run: make -C task-01 -j all + - run: make -C task-02 -j all + - run: make -C task-03 -j all + - run: make -C task-04 -j all + - run: make -C task-05 -j all + - run: make -C task-06 -j all + - name: Run make -C task-07 -j all + run: | + make -C RIOT/examples/gnrc_minimal -j all + make -C RIOT/examples/gnrc_networking -j all + - run: make -C task-08 -j all + - run: make -C task-09 -j all +