]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix cmake test on Solaris
authorYann Collet <cyan@fb.com>
Mon, 29 Jan 2024 01:35:08 +0000 (17:35 -0800)
committerYann Collet <cyan@fb.com>
Mon, 29 Jan 2024 01:40:32 +0000 (17:40 -0800)
write the recipe directly in the .yml file

For some reason, SolarisOS is not considered posix by the Makefile (?)

.github/workflows/solaris.yml

index af6945eb0313915c24c2db75d79112ed2c9775b9..abfabd548c3838bf42358832e826be41bfe21567 100644 (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