File tree 1 file changed +23
-9
lines changed
Filter options
1 file changed +23
-9
lines changed
Original file line number Diff line number Diff line change @@ -29,13 +29,24 @@ variables:
29
29
- echo 'Copy-Item C:\workdir\* -Destination C:\workdir-cpy -Recurse' | out-file -encoding utf8 -append build.ps1
30
30
- echo 'cd workdir-cpy' | out-file -encoding utf8 -append build.ps1
31
31
- echo 'mkdir build; cd build' | out-file -encoding utf8 -append build.ps1
32
- - echo "cmake .. -GNinja" | out-file -encoding utf8 -append build.ps1
32
+ - echo "cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release " | out-file -encoding utf8 -append build.ps1
33
33
- echo 'if(-not $?){throw}' | out-file -encoding utf8 -append build.ps1
34
34
- echo 'ninja' | out-file -encoding utf8 -append build.ps1
35
35
- echo 'if(-not $?){throw}' | out-file -encoding utf8 -append build.ps1
36
36
- echo '} catch { exit 1 }' | out-file -encoding utf8 -append build.ps1
37
37
- docker run --rm -v ${pwd}:C:\workdir $env:IMAGE C:\workdir\build.ps1
38
38
39
+ .platform_macos_template : &platform_macos_template
40
+ stage : Platform Tests
41
+ tags :
42
+ - macos
43
+ dependencies : []
44
+ script :
45
+ - mkdir build && cd build
46
+ - cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
47
+ - ninja
48
+ - ctest
49
+
39
50
Fedora/GCC :
40
51
image : stabletec/build-core:fedora-gcc
41
52
<< : *platform_unix_template
@@ -78,14 +89,17 @@ Windows/Clang-cl:
78
89
IMAGE : stabletec/build-core:windows-clang-cl
79
90
<< : *platform_windows_template
80
91
81
- MacOS/Clang :
82
- stage : Platform Tests
83
- tags :
84
- - macos
85
- script :
86
- - mkdir build && cd build
87
- - cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
88
- - ninja
92
+ macOS/GCC :
93
+ variables :
94
+ CC : gcc
95
+ CXX : g++
96
+ << : *platform_macos_template
97
+
98
+ macOS/Clang :
99
+ variables :
100
+ CC : clang
101
+ CXX : clang++
102
+ << : *platform_macos_template
89
103
90
104
# Analysis #
91
105
You can’t perform that action at this time.
0 commit comments