CI: Build VTest with clang

Current VTest master fails to build using gcc, see vtest/VTest#27.

This patch is to be reverted once VTest is fixed.
This commit is contained in:
Tim Duesterhus 2021-05-10 22:54:31 +02:00 committed by Willy Tarreau
parent 67b3cefea3
commit e61f53eb44
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ jobs:
curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o VTest.tar.gz
mkdir VTest
tar xvf VTest.tar.gz -C VTest --strip-components=1
make -C VTest -j$(nproc) FLAGS="-O2 -s -Wall"
make -C VTest -j$(nproc) FLAGS="-O2 -s -Wall" CC=clang
sudo install -m755 VTest/vtest /usr/local/bin/vtest
- name: Install SSL ${{ matrix.ssl }}
if: ${{ matrix.ssl && matrix.ssl != 'stock' }}

View File

@ -40,7 +40,7 @@ matrix:
install:
- git clone https://github.com/VTest/VTest.git ../vtest
# Special flags due to: https://github.com/vtest/VTest/issues/12
- make -C ../vtest FLAGS="-O2 -s -Wall"
- make -C ../vtest FLAGS="-O2 -s -Wall" CC=clang
script:
- make -j$(nproc) ERR=1 TARGET=linux-glibc CC=$CC DEBUG=-DDEBUG_STRICT=1 $FLAGS