Skip to content

Commit

Permalink
put all the new action steps after the olds ones so they don't interf…
Browse files Browse the repository at this point in the history
…ere with each other
  • Loading branch information
lucasw committed Dec 14, 2023
1 parent 35357cf commit a10890d
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,6 @@ jobs:
cmake ../zenoh-cpp/install -DCMAKE_INSTALL_PREFIX=~/local
cmake --install .
- name: get zenoh-c
uses: actions/checkout@v3
with:
repository: eclipse-zenoh/zenoh-c
path: zenoh-c

- name: install zenoh-c
shell: bash
run: |
mkdir -p zenohc_build_install && cd zenohc_build_install
cmake ../zenoh-c -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local
cmake --build . --target install
- name: make standalone example with zenoh-cpp as installed package
shell: bash
run: |
mkdir -p build_examples_standalone_findproj && cd build_examples_standalone_findproj
cmake ../zenoh-cpp/examples/standalone -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local
cmake --build . --config Release
- name: make examples
shell: bash
run: |
Expand Down Expand Up @@ -84,6 +64,26 @@ jobs:
cd build
ctest
- name: get zenoh-c
uses: actions/checkout@v3
with:
repository: eclipse-zenoh/zenoh-c
path: zenoh-c

- name: install zenoh-c
shell: bash
run: |
mkdir -p zenohc_build_install && cd zenohc_build_install
cmake ../zenoh-c -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local
cmake --build . --target install
- name: make standalone example with zenoh-cpp as installed package
shell: bash
run: |
mkdir -p build_examples_standalone_findproj && cd build_examples_standalone_findproj
cmake ../zenoh-cpp/examples/standalone -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local
cmake --build . --config Release
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit a10890d

Please sign in to comment.