Skip to content

Commit 5b6431a

Browse files
committed
clean up debian conan build
1 parent 035445f commit 5b6431a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
run: conan profile detect
5959

6060
- name: Install deps with conan
61-
run: conan install . -of ./build -s build_type=Release --build=missing
61+
run: conan install . -of build -s build_type=$BUILD_TYPE --build=missing
6262

6363
- name: Cmake
64-
working-directory: ./build
64+
working-directory: build
6565
run: bash conanbuild.sh && cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DUSE_SYSTEM_LIBS=0
6666

6767
- name: Build
68-
working-directory: ./build
69-
run: cmake --build .
68+
working-directory: build
69+
run: cmake --build . --config Release
7070

7171
build-fedora-system:
7272
if: true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ If you are using pyenv or building python3 from source, make sure you have `libb
6969
```
7070
conan install . -of build -s build_type=Release --build=missing
7171
cd build
72-
./conanbuild.sh
73-
cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DUSE_SYSTEM_LIBS=0
74-
cmake --build . --target install --config Release
72+
bash conanbuild.sh
73+
cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_LIBS=0
74+
cmake --build . --config Release
7575
```
7676

7777
## .deb and .rpm packages

0 commit comments

Comments
 (0)