Skip to content

Commit 7a3cd99

Browse files
committed
It looks like in windows the preset is called conan-default
1 parent 083bbf3 commit 7a3cd99

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/cmake_windows.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,13 @@ jobs:
3535
- name: Install conan dependencies
3636
run: conan install conanfile.py -s build_type=${{env.BUILD_TYPE}} --build=missing
3737

38-
- name: Normalize build type
39-
shell: bash
40-
# The build type is Capitalized, e.g. Release, but the preset is all lowercase, e.g. release.
41-
# There is no built in way to do string manipulations on GHA as far as I know.`
42-
run: echo "BUILD_TYPE_LOWERCASE=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
43-
4438
- name: Configure CMake
4539
shell: bash
46-
run: cmake --preset conan-${{ env.BUILD_TYPE_LOWERCASE }}
40+
run: cmake --preset conan-default
4741

4842
- name: Build
4943
shell: bash
50-
run: cmake --build --preset conan-${{ env.BUILD_TYPE_LOWERCASE }}
44+
run: cmake --build --preset conan-default
5145

5246
- name: run test (Windows)
5347
working-directory: ${{github.workspace}}/build/${{env.BUILD_TYPE}}

0 commit comments

Comments
 (0)