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.
This commit is contained in:
Michael Grunder 2021-11-18 13:50:09 -08:00 committed by GitHub
parent a83f4b8905
commit 1aed21a8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ jobs:
uses: egor-tensin/setup-cygwin@v3 uses: egor-tensin/setup-cygwin@v3
with: with:
platform: x64 platform: x64
packages: cmake gcc-core gcc-g++ packages: make git gcc-core
- name: Build in cygwin - name: Build in cygwin
env: env:
@ -175,8 +175,8 @@ jobs:
run: | run: |
build_hiredis() { build_hiredis() {
cd $(cygpath -u $HIREDIS_PATH) cd $(cygpath -u $HIREDIS_PATH)
rm -rf build && mkdir build && cd build git clean -xfd
cmake .. -G "Unix Makefiles" && make VERBOSE=1 make
} }
build_hiredis build_hiredis
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'