Skip to content

Commit e5a20fa

Browse files
authored
Merge pull request #79 from RIOT-OS/gh-action
Provide Github Action workflow to compile test the tasks
2 parents 4d0af0d + f6eba16 commit e5a20fa

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: build-test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- '*'
10+
schedule:
11+
- cron: '0 3 * * 5'
12+
13+
jobs:
14+
build-test:
15+
runs-on: ubuntu-22.04
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
board:
20+
- native
21+
- samr21-xpro
22+
- pba-d-01-kw2x
23+
env:
24+
BUILD_IN_DOCKER: 1
25+
WERROR: 0 # some variables are not used intentionally
26+
BOARD: ${{ matrix.board }}
27+
steps:
28+
- uses: actions/checkout@v2
29+
with:
30+
submodules: recursive
31+
- run: make -C task-01 -j all
32+
- run: make -C task-02 -j all
33+
- run: make -C task-03 -j all
34+
- run: make -C task-04 -j all
35+
- run: make -C task-05 -j all
36+
- run: make -C task-06 -j all
37+
- name: Run make -C task-07 -j all
38+
run: |
39+
make -C RIOT/examples/gnrc_minimal -j all
40+
make -C RIOT/examples/gnrc_networking -j all
41+
- run: make -C task-08 -j all
42+
- run: make -C task-09 -j all
43+

RIOT

Submodule RIOT updated 12326 files

0 commit comments

Comments
 (0)