From: Yann Collet Date: Mon, 29 Jan 2024 01:35:08 +0000 (-0800) Subject: fix cmake test on Solaris X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8ff52970b7aac695137ef75df0ba22776f25fb;p=thirdparty%2Fzstd.git fix cmake test on Solaris write the recipe directly in the .yml file For some reason, SolarisOS is not considered posix by the Makefile (?) --- diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml index af6945eb0..abfabd548 100644 --- a/.github/workflows/solaris.yml +++ b/.github/workflows/solaris.yml @@ -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