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:
6
.github/workflows/solaris.yml
vendored
6
.github/workflows/solaris.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user