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 90b18bb
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 90b18bb

Please sign in to comment.