Skip to content

Commit

Permalink
Move to using make directly in Cygwin (#1020)
Browse files Browse the repository at this point in the history
CMake started hanging when trying to detect the C compiler ABI in cygin,
so for now just build with make directly.
  • Loading branch information
michael-grunder authored Nov 18, 2021
1 parent a83f4b8 commit 1aed21a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,16 @@ 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:
HIREDIS_PATH: ${{ github.workspace }}
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}'

0 comments on commit 1aed21a

Please sign in to comment.