Skip to content

Commit

Permalink
Provide Github Action workflow to compile test the tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jan 27, 2021
1 parent 916715e commit 14a843e
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 14a843e

Please sign in to comment.