File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,34 @@ jobs:
119
119
- TARGET_BOX=LINUX64_MUSL
120
120
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
121
121
122
+ - &test-cmake
123
+ stage : test
124
+ compiler : clang
125
+ addons :
126
+ apt :
127
+ packages :
128
+ - gfortran
129
+ - cmake
130
+ dist : trusty
131
+ sudo : true
132
+ before_script :
133
+ - COMMON_ARGS="-DTARGET=NEHALEM -DNUM_THREADS=32"
134
+ script :
135
+ - set -e
136
+ - mkdir build
137
+ - CONFIG=Release
138
+ - cmake -Bbuild -H. $CMAKE_ARGS $COMMON_ARGS -DCMAKE_BUILD_TYPE=$CONFIG
139
+ - cmake --build build --config $CONFIG -- -j2
140
+ env :
141
+ - CMAKE=1
142
+ - << : *test-cmake
143
+ env :
144
+ - CMAKE=1 CMAKE_ARGS="-DNOFORTRAN=1"
145
+ - << : *test-cmake
146
+ compiler : gcc
147
+ env :
148
+ - CMAKE=1
149
+
122
150
# whitelist
123
151
branches :
124
152
only :
You can’t perform that action at this time.
0 commit comments