Skip to content

Commit

Permalink
ci: 18 CI workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipTamb committed Oct 30, 2023
1 parent 664f26c commit c92bee4
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,9 @@ jobs:
echo "TEMP_DIR=$(mktemp -d)" >> $GITHUB_ENV
echo "${{ env.TEMP_DIR}} >> ${{ env.TEMP_DIR}}"
- name: pwd
shell: bash
run: |
pwd
echo 'PWD === $PWD'
#./../../zenoh
- name: Clone Repository
run: git clone -b '0.7.2-rc' https://github.com/eclipse-zenoh/zenoh.git ./../../zenoh
run: git clone -b '0.7.2-rc' https://github.com/eclipse-zenoh/zenoh.git

# - if: matrix.os == 'macOS-latest'
# name: Free Disk Space (macOS)
Expand All @@ -135,27 +130,37 @@ jobs:
# if set to "true" but frees about 6 GB
tool-cache: true

- name: Print current working dir
run: |
ls -la $PWD
ls -la $GITHUB_WORKSPACE
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# # this might remove tools that are actually needed,
# # if set to "true" but frees about 6 GB
# tool-cache: true

- name: Change directory --> from Zenoh-Flow to Home directory
shell: bash
run: |
cd ..
pwd
# - name: Change directory --> from Zenoh-Flow to Home directory
# shell: bash
# run: |
# cd ..
# pwd

- name: dump
shell: bash
- name: Print current working dir
run: |
echo "{path}" >> $GITHUB_PATH
echo "$PATH"
ls -la $PWD
ls -la $GITHUB_WORKSPACE
- name: Set path
run: echo "ZENOHD_PATH=$(echo $PWD/zenoh/target/debug/zenohd )" >> $GITHUB_ENV
run: |
echo '{{ runner.workspace }}/zenoh/target/debug/zenohd === ${{ runner.workspace }}/zenoh/target/debug/zenohd'
echo '{{ runner.workspace }}/release/debug/zfctl === ${{ runner.workspace }}/release/debug/zfctl'
echo "ZENOHD_PATH=${{ runner.workspace }}/zenoh/target/debug/zenohd" >> $GITHUB_ENV
echo "ZFCTL_PATH=${{ runner.workspace }}/release/debug/zfctl" >> $GITHUB_ENV
echo ${{env.ZENOHD_PATH}}
echo ${{env.ZFCTL_PATH}}
- name: Build Zenoh
run: cargo build --all-targets
Expand All @@ -172,4 +177,4 @@ jobs:
- name: Run Python automated-test.py script
run: |
output=$(python3 manual-tests/automated-test.py --build release --zenohd zenoh/target/debug/zenohd --zfctl zenoh-flow/release/debug/zfctl)
output=$(python3 manual-tests/automated-test.py --build release --zenohd ${{env.ZENOHD_PATH}} --zfctl ${{ runner.workspace }}/release/debug/zfctl)

0 comments on commit c92bee4

Please sign in to comment.