adjust appveyor windows test

CFLAGS must be set becore execution
This commit is contained in:
Yann Collet 2023-12-22 00:43:37 -08:00
parent e760561c8a
commit 1ec11b1b91

View File

@ -55,10 +55,11 @@ build_script:
clang -v &&
make -v &&
echo ----- &&
make -C programs lz4 CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" &&
make -C tests fullbench CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" &&
make -C tests fuzzer CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" &&
make -C lib lib CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion"
set CFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" &&
make -C programs lz4 CC=clang &&
make -C tests fullbench CC=clang &&
make -C tests fuzzer CC=clang &&
make -C lib lib CC=clang
)
- if [%COMPILER%]==[gcc] (
MKDIR bin\dll bin\static bin\example bin\include &&