File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -131,57 +131,59 @@ jobs:
131
131
132
132
case ${{ matrix.pattern }} in
133
133
0)
134
+ export CXX="clang++-10"
134
135
export MSGPACK_CXX_VERSION="MSGPACK_CXX11=OFF"
135
136
;;
136
137
1)
138
+ export CXX="g++-10"
137
139
export MSGPACK_CXX_VERSION="MSGPACK_CXX11=ON"
138
140
;;
139
141
2)
142
+ export CXX="clang++-10"
140
143
export MSGPACK_CXX_VERSION="MSGPACK_CXX14=ON"
141
144
;;
142
145
3)
146
+ export CXX="g++-10"
143
147
export MSGPACK_CXX_VERSION="MSGPACK_CXX17=ON"
144
148
;;
145
149
4)
150
+ export CXX="clang++-10"
146
151
export MSGPACK_CXX_VERSION="MSGPACK_CXX20=ON"
147
152
;;
148
153
5)
154
+ export CXX="g++-10"
149
155
export ARCH=32
150
156
;;
151
157
6)
158
+ export CXX="clang++-10"
152
159
export API_VERSION=2
153
160
;;
154
161
7)
162
+ export CXX="g++-10"
155
163
export API_VERSION=1
156
164
;;
157
165
8)
166
+ export CXX="clang++-10"
158
167
export CHAR_SIGN="unsigned"
159
168
;;
160
169
9)
170
+ export CXX="g++-10"
161
171
export X3_PARSE="ON"
162
172
;;
163
173
10)
174
+ export CXX="clang++-10"
164
175
export ACTION="ci/build_regression.sh"
165
176
;;
166
177
11)
178
+ export CXX="g++-10"
167
179
export ARCH=32
168
180
export CHAR_SIGN="unsigned"
169
181
export X3_PARSE="ON"
170
182
;;
171
183
esac
172
184
173
185
# build and test
174
-
175
- # g++
176
- export CXX="g++-10"
177
186
CMAKE_CXX_COMPILER="$CXX" CXXFLAGS="-Werror -g ${SANITIZE}" ci/build_cmake.sh || exit 1
178
-
179
- # clang++
180
- # with ubsan clang inserts undefined reference to `__mulodi4' on 32-bit build - skip this configuration
181
- if ! [[ $SANITIZE != "" && $ARCH -eq 32 ]]; then
182
- export CXX="clang++-10"
183
- CMAKE_CXX_COMPILER="$CXX" CXXFLAGS="-Werror -g ${SANITIZE}" ci/build_cmake.sh || exit 1
184
- fi
185
187
cat Files.cmake| grep ".*\.[h|hpp]" | perl -pe 's/ //g' | sort > tmp1 && find include -name "*.h" -o -name "*.hpp" | sort > tmp2 && diff tmp1 tmp2
186
188
187
189
windows :
You can’t perform that action at this time.
0 commit comments