Skip to content

Commit c3edbfc

Browse files
authored
Merge pull request #256 from mguetschow/examples-rename
build.yml: update links to RIOT examples
2 parents a1b2ecb + 310a3a1 commit c3edbfc

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
name: Build and Test
3838
runs-on: ubuntu-latest
3939
env:
40-
RIOT_BRANCH: '2025.01-branch'
41-
VERSION_TAG: '2025.04'
40+
RIOT_BRANCH: '2025.04-branch'
41+
VERSION_TAG: '2025.07'
4242
DOCKER_REGISTRY: "${{ secrets.DOCKER_REGISTRY || 'local' }}"
4343

4444
steps:
@@ -98,11 +98,13 @@ jobs:
9898

9999
- name: GNU build test
100100
run: |
101-
make -CRIOT/examples/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
101+
RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16
102102
env:
103103
BUILD_IN_DOCKER: 1
104104
DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
105+
APPLICATIONS: RIOT/examples/basic/hello-world
105106
BOARDS: "arduino-uno esp32-wroom-32 hifive1b msb-430h native samr21-xpro"
107+
TOOLCHAIN: llvm
106108

107109
- name: GNU microbit qemu test
108110
run: >
@@ -122,36 +124,40 @@ jobs:
122124
123125
- name: LLVM build test
124126
run: |
125-
make -CRIOT/examples/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
127+
RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16
126128
env:
127-
TOOLCHAIN: llvm
128129
BUILD_IN_DOCKER: 1
129130
DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
131+
APPLICATIONS: RIOT/examples/basic/hello-world
130132
BOARDS: "native samr21-xpro"
133+
TOOLCHAIN: llvm
131134

132135
- name: Rust build test
133136
run: |
134137
# Some of the above are executed by root, creating ~/.cargo/git as
135138
# that user, blocking downloads of own libraries.
136139
rm -rf ~/.cargo
137-
make -CRIOT/examples/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
138-
# TODO: temporarily disabled (sock_udp.h not found)
139-
#make -CRIOT/examples/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest
140+
RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16
140141
env:
141142
BUILD_IN_DOCKER: 1
142143
DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
144+
# TODO: rust-gcoap temporarily disabled (sock_udp.h not found)
145+
APPLICATIONS: RIOT/examples/lang_support/official/rust-hello-world #RIOT/examples/lang_support/official/rust-gcoap
143146
# Not all of them are actually available; still using the "canonical"
144147
# list of representative boards above to keep this stable whil Rust
145148
# support expands
146149
BOARDS: "arduino-uno esp32-wroom-32 hifive1b msb-430h native samr21-xpro"
150+
TOOLCHAIN: gnu
147151

148152
- name: C++ build test
149153
run: |
150-
make -C RIOT/tests/sys/cpp11_condition_variable BUILDTEST_MAKE_REDIRECT='' buildtest
154+
RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16
151155
env:
152156
BUILD_IN_DOCKER: 1
153157
DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
158+
APPLICATIONS: RIOT/tests/sys/cpp11_condition_variable
154159
BOARDS: "esp32-wroom-32 hifive1b native samr21-xpro"
160+
TOOLCHAIN: gnu
155161

156162
- name: laze test
157163
run: |

0 commit comments

Comments
 (0)