File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 ..
You can’t perform that action at this time.
0 commit comments