Skip to content

Commit b665bd1

Browse files
author
Steven Hartley
authored
Add conan package create to ci workflow (#57)
* Add conan package create to ci workflow * retrigger workflow * don't need zenoh stuff in up-cpp
1 parent 3524f35 commit b665bd1

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,13 @@ jobs:
2727
- name: Create default Conan profile
2828
run: conan profile detect
2929

30-
- name: Install Rust toolchain
31-
run: rustup component add rustfmt clippy
3230

33-
- name: Build and install Zenoh-c
34-
shell: bash
35-
run: |
36-
git clone https://github.com/eclipse-zenoh/zenoh-c.git
37-
cd zenoh-c && mkdir -p build && cd build
38-
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local
39-
cmake --build . --target install --config Release
40-
4131
- name: Fetch and link up-core-api
4232
shell: bash
4333
run: |
4434
git clone -b uprotocol-core-api-1.5.6 https://github.com/eclipse-uprotocol/up-core-api.git
4535
git submodule update --init --recursive
46-
36+
4737
- name: Build && install up-cpp
4838
shell: bash
4939
run: |
@@ -58,7 +48,12 @@ jobs:
5848
cd build
5949
ctest
6050
61-
51+
- name: Create up-cpp Conan package
52+
shell: bash
53+
run: |
54+
conan create . --build=missing
55+
56+
6257
# NOTE: In GitHub repository settings, the "Require status checks to pass
6358
# before merging" branch protection rule ensures that commits are only merged
6459
# from branches where specific status checks have passed. These checks are

0 commit comments

Comments
 (0)