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:
parent
a83f4b8905
commit
1aed21a8c5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user