Merge pull request #6 from flba-eb/flba-eb-patch-2 #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main Branch CI example | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
test_on_target: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout zenoh | |
uses: actions/checkout@v4 | |
with: | |
repository: eclipse-zenoh/zenoh | |
path: zenoh | |
ref: '1.0.0-alpha.5' | |
- name: test Zenoh | |
run: | | |
set -x | |
( cd zenoh && patch -p1 < ../zenoh-patch.diff ) | |
sudo chown -R 1000 zenoh | |
time docker run \ | |
-v $(realpath zenoh):/src \ | |
-v $(realpath scripts):/scripts \ | |
-e "CI_COMMAND=/scripts/run_ci.sh" \ | |
ghcr.io/flba-eb/ebcl_cicd_template:main |