Skip to content

Commit 5ba48e0

Browse files
author
Alex Chapin
committed
fix: Update CMake build commands to specify configuration
1 parent e7e1aa7 commit 5ba48e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/buildCSharp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
echo "::engroup::"
168168
169169
echo "::group::Build"
170-
cmake --build --preset conan-release
170+
cmake --build --preset conan-release --config Release
171171
echo "::engroup::"
172172
173173
- name: Install Dotnet x86
@@ -185,6 +185,7 @@ jobs:
185185
conan install . --output-folder=./build --build=missing -c tools.cmake.cmaketoolchain:generator="Visual Studio 17 2022" -s compiler.cppstd=20 -s build_type=${{ env.BUILD_TYPE }} -o with_testing=False -o with_benchmark=False -o with_ruby=False -o with_python=False -o with_csharp=True -s:b arch=x86_64 -s:h arch=x86
186186
echo "::engroup::"
187187
188+
cmake --list-presets
188189
echo "::group::CMake Configure"
189190
call ./build/conanbuild.bat
190191
cmake --preset conan-default ^
@@ -193,7 +194,7 @@ jobs:
193194
echo "::engroup::"
194195
195196
echo "::group::Build"
196-
cmake --build --preset conan-release
197+
cmake --build --preset conan-default --config Release
197198
echo "::engroup::"
198199
199200
- name: build nuget for Windows

0 commit comments

Comments
 (0)