fix zephyr tests

This commit is contained in:
Sergio R. Caprile
2026-03-16 16:08:34 -03:00
parent 538a1a9bfa
commit 02e83c77a4
6 changed files with 17 additions and 11 deletions
+7 -6
View File
@@ -16,11 +16,12 @@ jobs:
- uses: actions/checkout@v4
with: { fetch-depth: 2 }
- run: test/setup_ga_docker_filesystem.sh
- run: make -C tutorials/zephyr init REPO=zephyrprojectrtos/ci REVNO="${{ matrix.revno }}"
- run: make -C tutorials/zephyr init REPO=zephyrprojectrtos/ci:v0.28.8 REVNO="${{ matrix.revno }}"
- run: make -C tutorials/zephyr minify REVNO="${{ matrix.revno }}"
- run: make -C tutorials/zephyr update
- run: make -C tutorials/zephyr/device-dashboard build
- run: make -C tutorials/zephyr/http-client build
- run: make -C tutorials/zephyr/http-server build
- run: make -C tutorials/zephyr/mqtt-aws-client build
- run: make -C tutorials/zephyr/websocket-server build
- run: make -C tutorials/zephyr/device-dashboard build REPO=zephyrprojectrtos/ci:v0.28.8
- run: make -C tutorials/zephyr/http-client build REPO=zephyrprojectrtos/ci:v0.28.8
- run: make -C tutorials/zephyr/http-server build REPO=zephyrprojectrtos/ci:v0.28.8
- run: make -C tutorials/zephyr/mqtt-aws-client build REPO=zephyrprojectrtos/ci:v0.28.8
- run: make -C tutorials/zephyr/websocket-server build REPO=zephyrprojectrtos/ci:v0.28.8
# Latest CI image does not work with pre 4.4, they changed some SDK paths
+2 -1
View File
@@ -1,10 +1,11 @@
TOP_DIR ?= $(realpath $(CURDIR)/../../..)
ZEPHYR_DIR ?= $(realpath $(CURDIR)/..)/zephyrproject
REPO ?= zephyrprojectrtos/ci
DOCKER ?= docker run --rm \
-v $(TOP_DIR):$(TOP_DIR) \
-w $(realpath $(CURDIR)) \
-e ZEPHYR_BASE=$(ZEPHYR_DIR)/zephyr \
$(DOCKER_ARGS) zephyrprojectrtos/ci
$(DOCKER_ARGS) $(REPO)
BUILD_ARGS ?= -b nucleo_f746zg
.PHONY: build
+2 -1
View File
@@ -1,10 +1,11 @@
TOP_DIR ?= $(realpath $(CURDIR)/../../..)
ZEPHYR_DIR ?= $(realpath $(CURDIR)/..)/zephyrproject
REPO ?= zephyrprojectrtos/ci
DOCKER ?= docker run --rm \
-v $(TOP_DIR):$(TOP_DIR) \
-w $(realpath $(CURDIR)) \
-e ZEPHYR_BASE=$(ZEPHYR_DIR)/zephyr \
$(DOCKER_ARGS) zephyrprojectrtos/ci
$(DOCKER_ARGS) $(REPO)
BUILD_ARGS ?= -b nucleo_f746zg
.PHONY: build
+2 -1
View File
@@ -1,10 +1,11 @@
TOP_DIR ?= $(realpath $(CURDIR)/../../..)
ZEPHYR_DIR ?= $(realpath $(CURDIR)/..)/zephyrproject
REPO ?= zephyrprojectrtos/ci
DOCKER ?= docker run --rm \
-v $(TOP_DIR):$(TOP_DIR) \
-w $(realpath $(CURDIR)) \
-e ZEPHYR_BASE=$(ZEPHYR_DIR)/zephyr \
$(DOCKER_ARGS) zephyrprojectrtos/ci
$(DOCKER_ARGS) $(REPO)
BUILD_ARGS ?= -b nucleo_f746zg
.PHONY: build
+2 -1
View File
@@ -1,10 +1,11 @@
TOP_DIR ?= $(realpath $(CURDIR)/../../..)
ZEPHYR_DIR ?= $(realpath $(CURDIR)/..)/zephyrproject
REPO ?= zephyrprojectrtos/ci
DOCKER ?= docker run --rm \
-v $(TOP_DIR):$(TOP_DIR) \
-w $(realpath $(CURDIR)) \
-e ZEPHYR_BASE=$(ZEPHYR_DIR)/zephyr \
$(DOCKER_ARGS) zephyrprojectrtos/ci
$(DOCKER_ARGS) $(REPO)
BUILD_ARGS ?= -b nucleo_f746zg
.PHONY: build
+2 -1
View File
@@ -1,10 +1,11 @@
TOP_DIR ?= $(realpath $(CURDIR)/../../..)
ZEPHYR_DIR ?= $(realpath $(CURDIR)/..)/zephyrproject
REPO ?= zephyrprojectrtos/ci
DOCKER ?= docker run --rm \
-v $(TOP_DIR):$(TOP_DIR) \
-w $(realpath $(CURDIR)) \
-e ZEPHYR_BASE=$(ZEPHYR_DIR)/zephyr \
$(DOCKER_ARGS) zephyrprojectrtos/ci
$(DOCKER_ARGS) $(REPO)
BUILD_ARGS ?= -b nucleo_f746zg
.PHONY: build