File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 44
44
shell : bash
45
45
run : |
46
46
conan profile detect --force
47
- # Add system package manager settings to detected profile
48
47
echo "[conf]" >> ~/.conan2/profiles/default
49
48
echo "tools.system.package_manager:mode=install" >> ~/.conan2/profiles/default
50
49
echo "tools.system.package_manager:sudo=True" >> ~/.conan2/profiles/default
@@ -76,18 +75,13 @@ jobs:
76
75
- name : Configure CMake
77
76
shell : bash
78
77
run : |
79
- preset="conan-release"
80
- if [ "${{ matrix.build_type }}" = "RelWithDebInfo" ]; then
81
- preset="conan-relwithdebinfo"
82
- fi
83
-
84
78
if [ "${{ runner.os }}" == "Windows" ]; then
85
79
build_dir="${{ github.workspace }}\\build\\${{ matrix.build_type }}"
86
80
else
87
81
build_dir="${{ github.workspace }}/build/${{ matrix.build_type }}"
88
82
fi
89
83
90
- cmake --preset $preset \
84
+ cmake --preset conan-default \
91
85
-S . \
92
86
-B "$build_dir" \
93
87
-G Ninja \
You can’t perform that action at this time.
0 commit comments