Skip to content

Commit d51f546

Browse files
leoparenteclaude
andcommitted
fix: add missing conan export to all remaining CI paths
- build-release.yml prebuild-package: add export before cmake configure - build-release.yml release: add export before cmake configure - build_cross.yml pkvisor-cli: install conan and export before cmake configure - code-ql.yml: export after fresh clone, before cmake configure Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0bf6279 commit d51f546

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
id: conan
8080
uses: turtlebrowser/get-conan@c171f295f3f507360ee018736a6608731aa2109d #v1.2
8181

82+
- name: Export local Corrade recipe
83+
run: conan export ${{github.workspace}}/conan/corrade/ --name=corrade --version=cci.20260327
84+
8285
- name: Configure CMake to generate VERSION
8386
shell: bash
8487
working-directory: ${{github.workspace}}/build
@@ -123,11 +126,14 @@ jobs:
123126
id: conan
124127
uses: turtlebrowser/get-conan@c171f295f3f507360ee018736a6608731aa2109d #v1.2
125128

129+
- name: Export local Corrade recipe
130+
run: conan export ${{github.workspace}}/conan/corrade/ --name=corrade --version=cci.20260327
131+
126132
- name: Configure CMake to generate VERSION
127133
shell: bash
128134
working-directory: ${{github.workspace}}/build
129135
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./cmake/conan_provider.cmake
130-
136+
131137
- name: Set variables
132138
run: |
133139
echo "LAST_TAG=`git tag --sort=committerdate | tail -1`" >> $GITHUB_ENV

.github/workflows/build_cross.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@ jobs:
182182
- name: Checkout sources
183183
uses: actions/checkout@v6
184184

185+
- name: Install Conan
186+
run: pip install --no-cache-dir conan --force-reinstall
187+
188+
- name: Export local Corrade recipe
189+
run: conan export ${{github.workspace}}/conan/corrade/ --name=corrade --version=cci.20260327
190+
185191
- name: Configure CMake to generate VERSION
186192
shell: bash
187193
run: VERSION_ONLY=1 cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./cmake/conan_provider.cmake

.github/workflows/code-ql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
# clone the repository, not sure if this needs to be done
6969
git clone https://github.com/netboxlabs/pktvisor.git
7070
cd pktvisor
71+
# export the local Corrade recipe so conan_provider can resolve it
72+
conan export conan/corrade/ --name=corrade --version=cci.20260327
7173
mkdir build && cd build
7274
# configure and handle dependencies
7375
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./cmake/conan_provider.cmake ..

0 commit comments

Comments
 (0)