From 1aed21a8c50fe075e8abce9db30c3860673f0fc7 Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Thu, 18 Nov 2021 13:50:09 -0800 Subject: Move to using make directly in Cygwin (#1020) CMake started hanging when trying to detect the C compiler ABI in cygin, so for now just build with make directly. --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af834ab..c43beb6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,7 +167,7 @@ jobs: uses: egor-tensin/setup-cygwin@v3 with: platform: x64 - packages: cmake gcc-core gcc-g++ + packages: make git gcc-core - name: Build in cygwin env: @@ -175,8 +175,8 @@ jobs: run: | build_hiredis() { cd $(cygpath -u $HIREDIS_PATH) - rm -rf build && mkdir build && cd build - cmake .. -G "Unix Makefiles" && make VERBOSE=1 + git clean -xfd + make } build_hiredis shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' -- cgit v1.2.3