From ba8ff52970b7aac695137ef75df0ba22776f25fb Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sun, 28 Jan 2024 17:35:08 -0800 Subject: [PATCH] fix cmake test on Solaris write the recipe directly in the .yml file For some reason, SolarisOS is not considered posix by the Makefile (?) --- .github/workflows/solaris.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.2