diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16264a05..509d1517 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,8 +37,8 @@ jobs: name: Build and Test runs-on: ubuntu-latest env: - RIOT_BRANCH: '2025.01-branch' - VERSION_TAG: '2025.04' + RIOT_BRANCH: '2025.04-branch' + VERSION_TAG: '2025.07' DOCKER_REGISTRY: "${{ secrets.DOCKER_REGISTRY || 'local' }}" steps: @@ -98,11 +98,13 @@ jobs: - name: GNU build test run: | - make -CRIOT/examples/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest + RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16 env: BUILD_IN_DOCKER: 1 DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest + APPLICATIONS: RIOT/examples/basic/hello-world BOARDS: "arduino-uno esp32-wroom-32 hifive1b msb-430h native samr21-xpro" + TOOLCHAIN: llvm - name: GNU microbit qemu test run: > @@ -122,36 +124,40 @@ jobs: - name: LLVM build test run: | - make -CRIOT/examples/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest + RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16 env: - TOOLCHAIN: llvm BUILD_IN_DOCKER: 1 DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest + APPLICATIONS: RIOT/examples/basic/hello-world BOARDS: "native samr21-xpro" + TOOLCHAIN: llvm - name: Rust build test run: | # Some of the above are executed by root, creating ~/.cargo/git as # that user, blocking downloads of own libraries. rm -rf ~/.cargo - make -CRIOT/examples/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest - # TODO: temporarily disabled (sock_udp.h not found) - #make -CRIOT/examples/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest + RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16 env: BUILD_IN_DOCKER: 1 DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest + # TODO: rust-gcoap temporarily disabled (sock_udp.h not found) + APPLICATIONS: RIOT/examples/lang_support/official/rust-hello-world #RIOT/examples/lang_support/official/rust-gcoap # Not all of them are actually available; still using the "canonical" # list of representative boards above to keep this stable whil Rust # support expands BOARDS: "arduino-uno esp32-wroom-32 hifive1b msb-430h native samr21-xpro" + TOOLCHAIN: gnu - name: C++ build test run: | - make -C RIOT/tests/sys/cpp11_condition_variable BUILDTEST_MAKE_REDIRECT='' buildtest + RIOT/dist/tools/compile_test/compile_like_murdock.py -a $APPLICATIONS -b $BOARDS -t $TOOLCHAIN -j16 env: BUILD_IN_DOCKER: 1 DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest + APPLICATIONS: RIOT/tests/sys/cpp11_condition_variable BOARDS: "esp32-wroom-32 hifive1b native samr21-xpro" + TOOLCHAIN: gnu - name: laze test run: |