Skip to content

Commit 0e0dce2

Browse files
committed
ci: add simple test on linux host
1 parent c5c7359 commit 0e0dce2

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.gitlab/ci/test.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,25 @@ tests_macos_simple_esp32:
488488
- echo $ARCHIVE_NAME
489489
- tar xzf $DIST_ART_DIR/$ARCHIVE_NAME openocd-esp32
490490
- ./openocd-esp32/bin/openocd --version
491-
#- ./openocd-esp32/bin/openocd -f board\esp32-ethernet-kit-3.3v.cfg -c "init; reset halt; sleep 5; exit"
491+
492+
tests_linux_simple_esp32:
493+
stage: test_host
494+
image: $CI_DOCKER_REGISTRY/esp-env-v5.1:1
495+
tags:
496+
- build
497+
needs:
498+
- job: build_linux
499+
variables:
500+
# actually we don't need the project sources, but we need the `git clean` gitlab-runner's stage.
501+
# It's possible only for `fetch` or `clone`.
502+
GIT_STRATEGY: fetch
503+
PLATFORM_NAME: "linux-amd64"
504+
before_script: []
505+
script:
506+
- ARCHIVE_NAME=$(cat "$DIST_ART_DIR/dist_name_$PLATFORM_NAME")
507+
- echo $ARCHIVE_NAME
508+
- tar xzf $DIST_ART_DIR/$ARCHIVE_NAME openocd-esp32
509+
- ./openocd-esp32/bin/openocd --version
492510

493511
###########
494512
# NUTTX #

0 commit comments

Comments
 (0)