Skip to content

Commit fab0156

Browse files
committed
chore: try fixing worflow again
1 parent 3c8f0e2 commit fab0156

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# Install dependencies
3333
# ----------------------------
3434
- name: conan install packages
35-
run: conan install . --build=missing -c tools.system.package_manager:mode=install
35+
run: conan install . --build=missing -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True
3636

3737
- name: sbpt initialization
3838
run: python scripts/sbpt/main.py init src
@@ -42,8 +42,14 @@ jobs:
4242
# ----------------------------
4343
- name: Configure & Build
4444
run: |
45+
if [ "${{ matrix.os }}" == "windows-latest" ]; then
46+
echo "Windows using conan-default preset"
47+
cmake --preset conan-default
48+
else
49+
echo "Linux/macOS using conan-release preset"
4550
cmake --preset conan-release
46-
cmake --build --preset conan-release
51+
fi
52+
cmake --build --preset conan-release
4753
shell: bash
4854

4955
# ----------------------------

0 commit comments

Comments
 (0)