File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ stages:
4646 script :
4747 - *setup_cpp
4848 - echo -e "\e[0Ksection_start:`date +%s`:my_build[collapsed=true]\r\e[0KHeader of the build collapsible section"
49- - cmake --workflow --preset clang -debug
49+ - cmake --workflow --preset $CC -debug
5050 - gcovr .
51- - cmake --workflow --preset clang -release
51+ - cmake --workflow --preset $CC -release
5252 - echo -e "\e[0Ksection_end:`date +%s`:my_build\r\e[0K"
5353
5454default : # Add a default section to define the `image` keyword's default value
@@ -60,6 +60,7 @@ test_linux_llvm:
6060 stage : build
6161 variables :
6262 compiler : llvm
63+ CC : clang
6364 extends :
6465 - .standard-rules # Reuse the configuration in `.standard-rules` here
6566 - .build
@@ -68,6 +69,7 @@ test_linux_gcc:
6869 stage : build
6970 variables :
7071 compiler : gcc
72+ CC : gcc
7173 extends :
7274 - .standard-rules # Reuse the configuration in `.standard-rules` here
7375 - .build
You can’t perform that action at this time.
0 commit comments