From 0c5065d22c6a36eaeca6a48140e19f160ae112f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Fri, 21 Feb 2025 10:30:00 +0100 Subject: [PATCH 1/2] build.yml: update links to RIOT examples --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16264a05..50bf0e3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -98,7 +98,7 @@ jobs: - name: GNU build test run: | - make -CRIOT/examples/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest + make -CRIOT/examples/basic/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest env: BUILD_IN_DOCKER: 1 DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest @@ -122,7 +122,7 @@ jobs: - name: LLVM build test run: | - make -CRIOT/examples/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest + make -CRIOT/examples/basic/hello-world BUILDTEST_MAKE_REDIRECT='' buildtest env: TOOLCHAIN: llvm BUILD_IN_DOCKER: 1 @@ -134,9 +134,9 @@ jobs: # 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 + make -CRIOT/examples/lang_support/official/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest # TODO: temporarily disabled (sock_udp.h not found) - #make -CRIOT/examples/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest + #make -CRIOT/examples/lang_support/official/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest env: BUILD_IN_DOCKER: 1 DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest From 310a3a1a598224029a32666a6b656f917d037f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Fri, 23 May 2025 13:41:12 +0200 Subject: [PATCH 2/2] ci: bump RIOT_BRANCH and VERSION_TAG also switch from using make buildtest to dist/tools/compile_test --- .github/workflows/build.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50bf0e3b..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/basic/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/basic/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/lang_support/official/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest - # TODO: temporarily disabled (sock_udp.h not found) - #make -CRIOT/examples/lang_support/official/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: |