@@ -196,8 +196,8 @@ jobs:
196196 os : ubuntu-latest
197197 build-type : iwyu
198198 compiler-family : clang
199- c-compiler : clang-7
200- cc-compiler : clang++-7
199+ c-compiler : clang-5
200+ cc-compiler : clang++-5
201201 debug : nodebug
202202 coverage : nocoverage
203203 steps :
@@ -240,7 +240,7 @@ jobs:
240240 if : ${{ matrix.build-type == 'iwyu' }}
241241
242242 # Installing iwyu manually because clang and iwyu paths won't match on Ubuntu otherwise.
243- # - name: Install IWYU if requested
243+ # - name: Install IWYU if requested
244244 # run: |
245245 # CLANG_ROOT_PATH=`llvm-config-9 --prefix` ;
246246 # CLANG_BIN_PATH=`llvm-config-9 --bindir` ;
@@ -252,7 +252,6 @@ jobs:
252252 # cmake -G "Unix Makefiles" -DCMAKE_CXX_FLAGS=-std=gnu++14 -DCMAKE_PREFIX_PATH=$ROOT_PATH -DCMAKE_C_COMPILER=$CLANG_BIN_PATH/clang -DCMAKE_CXX_COMPILER=$CLANG_BIN_PATH/clang++ ../ ;
253253 # make ;
254254 # sudo make install ;
255- # cd .. ;
256255 # if: ${{ matrix.build-type == 'iwyu' }}
257256
258257 - name : CURL from cache (for testing)
@@ -351,10 +350,10 @@ jobs:
351350 run : |
352351 cd build ;
353352 if [ "$BUILD_TYPE" = "iwyu" ]; then
354- clang-7 -print-resource-dir ;
353+ clang-5 -print-resource-dir ;
355354 /usr/bin/include-what-you-use -print-resource-dir ;
356- sudo ln -s `clang-7 -print-resource dir`/include `/usr/bin/include-what-you-use -print-resource-dir`/include ;
357- sudo ln -s `clang-7 -print-resource dir`/lib `/usr/bin/include-what-you-use -print-resource-dir`/lib ;
355+ sudo ln -s `clang-5 -print-resource dir`/include `/usr/bin/include-what-you-use -print-resource-dir`/include ;
356+ sudo ln -s `clang-5 -print-resource dir`/lib `/usr/bin/include-what-you-use -print-resource-dir`/lib ;
358357 make -k CXX='/usr/bin/include-what-you-use -Xiwyu --mapping_file=${top_builddir}/../custom_iwyu.imp' CXXFLAGS="-std=c++11 -DHTTPSERVER_COMPILATION -D_REENTRANT $CXXFLAGS" ;
359358 if [ $? -ne 2 ]; then
360359 return 1;
0 commit comments