Skip to content

Commit 8fee3a1

Browse files
committed
🔧 lol cmake on non-single-step generator requires the config to be set on build after generation and ignores CMAKE_BUILD_TYPE.
Therefore we do it for all platform to be sure.
1 parent af0ceaa commit 8fee3a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitlab-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ build-linux:
33
script:
44
- mkdir build/ && cd build/
55
- cmake .. -DCMAKE_BUILD_TYPE=MinSizeRel -DUNIT_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=deps/polly/gcc-7-cxx17.cmake
6-
- cmake --build .
6+
- cmake --build . --config MinSizeRel
77
- ctest . -C MinSizeRel --verbose
88

99
build-macOS:
@@ -12,7 +12,7 @@ build-macOS:
1212
script:
1313
- mkdir build/ && cd build/
1414
- cmake .. -DCMAKE_BUILD_TYPE=MinSizeRel -DUNIT_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=deps/polly/clang-cxx17.cmake
15-
- cmake --build .
15+
- cmake --build . --config MinSizeRel
1616
- ctest . -C MinSizeRel --verbose
1717

1818
build-win10:
@@ -22,5 +22,5 @@ build-win10:
2222
- set PreferredToolArchitecture=x64
2323
- mkdir build && cd build
2424
- cmake .. -DCMAKE_BUILD_TYPE=MinSizeRel -DUNIT_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=deps/polly/vs-15-2017-cxx17.cmake
25-
- cmake --build .
25+
- cmake --build . --config MinSizeRel
2626
- ctest . -C MinSizeRel --verbose

0 commit comments

Comments
 (0)