Skip to content

Commit

Permalink
ci: add simple test on linux host
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankur committed Apr 16, 2023
1 parent c5c7359 commit 0e0dce2
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .gitlab/ci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,25 @@ tests_macos_simple_esp32:
- echo $ARCHIVE_NAME
- tar xzf $DIST_ART_DIR/$ARCHIVE_NAME openocd-esp32
- ./openocd-esp32/bin/openocd --version
#- ./openocd-esp32/bin/openocd -f board\esp32-ethernet-kit-3.3v.cfg -c "init; reset halt; sleep 5; exit"

tests_linux_simple_esp32:
stage: test_host
image: $CI_DOCKER_REGISTRY/esp-env-v5.1:1
tags:
- build
needs:
- job: build_linux
variables:
# actually we don't need the project sources, but we need the `git clean` gitlab-runner's stage.
# It's possible only for `fetch` or `clone`.
GIT_STRATEGY: fetch
PLATFORM_NAME: "linux-amd64"
before_script: []
script:
- ARCHIVE_NAME=$(cat "$DIST_ART_DIR/dist_name_$PLATFORM_NAME")
- echo $ARCHIVE_NAME
- tar xzf $DIST_ART_DIR/$ARCHIVE_NAME openocd-esp32
- ./openocd-esp32/bin/openocd --version

###########
# NUTTX #
Expand Down

0 comments on commit 0e0dce2

Please sign in to comment.