From db7087f455eeb08b1c327ab45a8bacb27f0da6e6 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 28 Jul 2025 14:43:09 -0300 Subject: [PATCH] add tests for Zephyr 4.2.0 --- .github/workflows/zephyr.yml | 2 +- tutorials/zephyr/Makefile | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 94c5710b..cd4e8c6e 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - revno: ["--mr v3.7-branch"] # ["--mr v3.7-branch", "--mr v4.2.0"] # LTS, latest stable + revno: ["--mr v3.7-branch", "--mr v4.2.0"] # LTS, latest stable name: Zephyr ${{ matrix.revno }} steps: - uses: actions/checkout@v4 diff --git a/tutorials/zephyr/Makefile b/tutorials/zephyr/Makefile index e7074acc..5652106e 100644 --- a/tutorials/zephyr/Makefile +++ b/tutorials/zephyr/Makefile @@ -26,6 +26,11 @@ update: $(DOCKER) $(REPO) /bin/sh -c 'cd $(DOCKER_ZEPHYR_PATH) && west update' minify: +ifeq ("$(REVNO)","--mr v3.7-branch") $(YQ) -i eval '(.manifest.defaults, .manifest.remotes, .manifest.projects[] | select(.name == "cmsis" or .name == "hal_stm32" or .name == "mbedtls" or .name == "mcuboot" or .name == "picolibc" | del(.null) ), .manifest.self) as $$i ireduce({};setpath($$i | path; $$i)) | del(.manifest.projects.[].null) | del(..|select(length==0))' zephyrproject/zephyr/west.yml +endif +#ifneq ("$(REVNO)","--mr v3.7-branch") +# $(YQ) -i eval '(.manifest.defaults, .manifest.remotes, .manifest.group-filter, .manifest.projects[] | select(.name == "cmsis" or .name == "hal_stm32" or .name == "mbedtls" or .name == "mcuboot" or .name == "picolibc" | del(.null) ), .manifest.self) as $$i ireduce({};setpath($$i | path; $$i)) | del(.manifest.projects.[].null) | del(..|select(length==0))' zephyrproject/zephyr/west.yml +#endif zephyr: init minify update