File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 39
39
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
40
40
env : COMPILER="ccache g++-5"
41
41
42
+ # OS X using g++
43
+ - stage : Test different OS/CXX/Flags
44
+ os : osx
45
+ sudo : false
46
+ compiler : gcc
47
+ cache : ccache
48
+ before_install :
49
+ # we create symlink to non-ccache gcc, to be used in tests
50
+ - mkdir bin ; ln -s /usr/bin/gcc bin/gcc
51
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
52
+ - export PATH=/usr/local/opt/ccache/libexec:$PATH
53
+ env : COMPILER="ccache g++"
54
+
55
+ # OS X using clang++
56
+ - stage : Test different OS/CXX/Flags
57
+ os : osx
58
+ sudo : false
59
+ compiler : clang
60
+ cache : ccache
61
+ before_install :
62
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
63
+ - export PATH=/usr/local/opt/ccache/libexec:$PATH
64
+ env :
65
+ - COMPILER="ccache clang++ -Qunused-arguments -fcolor-diagnostics"
66
+ - CCACHE_CPP2=yes
67
+
42
68
# Ubuntu Linux with glibc using g++-5, debug mode
43
69
- stage : Test different OS/CXX/Flags
44
70
os : linux
@@ -127,6 +153,18 @@ jobs:
127
153
- cmake --build build -- -j4
128
154
script : (cd build; ctest -V -L CORE)
129
155
156
+ - stage : Test different OS/CXX/Flags
157
+ os : osx
158
+ cache : ccache
159
+ env :
160
+ - BUILD_SYSTEM=cmake
161
+ - CCACHE_CPP2=yes
162
+ install :
163
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
164
+ - cmake --build build -- -j4
165
+ script : (cd build; ctest -V -L CORE)
166
+
167
+
130
168
allow_failures :
131
169
- << : *linter-stage
132
170
You can’t perform that action at this time.
0 commit comments