Skip to content

Commit

Permalink
ci: add simple test on macos host
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankur committed Apr 15, 2023
1 parent d748c07 commit c5c7359
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- test_idf4.x
- test_idf5.x
- test_idf_master
- test_windows
- test_host
- test_nuttx
- coverage
- sanitizer_tests
Expand Down
27 changes: 23 additions & 4 deletions .gitlab/ci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,12 @@ tests_armhf_esp32c3_idf4.x_flash_encrypted:
TEST_RUN_DIR: "build_test_app_esp32c3_idf4.x"
TEST_RUN_EXTRA_OPTS: "-i $TEST_APP_IDF4_X_RELEASE_TAG -b esp32c3-ftdi -p test_*.*SingleEncrypted"

###########
# WINDOWS #
###########
#############
# HOST TEST #
#############

tests_win_simple_esp32:
stage: test_windows
stage: test_host
tags:
- test_jtag_win
needs:
Expand All @@ -471,6 +471,25 @@ tests_win_simple_esp32:
- echo $OPENOCD_SCRIPTS
- .\openocd-esp32\bin\openocd.exe -f board\esp32-ethernet-kit-3.3v.cfg -c "init; reset halt; sleep 5; exit"

tests_macos_simple_esp32:
stage: test_host
tags:
- macos_shell
needs:
- job: build_macos
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: "macos"
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
#- ./openocd-esp32/bin/openocd -f board\esp32-ethernet-kit-3.3v.cfg -c "init; reset halt; sleep 5; exit"

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

0 comments on commit c5c7359

Please sign in to comment.