1
0
mirror of https://github.com/facebook/zstd.git synced 2026-01-06 11:21:19 +03:00

fix cmake test on Solaris

write the recipe directly in the .yml file

For some reason, SolarisOS is not considered posix by the Makefile (?)
This commit is contained in:
Yann Collet
2024-01-28 17:35:08 -08:00
parent 5f18da53ad
commit ba8ff52970

View File

@@ -48,4 +48,8 @@ jobs:
gcc -v
CC=gcc CFLAGS="-Werror -O1" gmake -j check
pkg install cmake
gmake cmakebuild V=1
cmake --version
rm -rf cmakebuild install
mkdir -p cmakebuild install
cd cmakebuild; cmake -Wdev -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Werror -O0" -DCMAKE_INSTALL_PREFIX=install ../build/cmake
cmake --build cmakebuild --target install -- -j V=1