summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2021-11-18 13:50:09 -0800
committerGitHub <noreply@github.com>2021-11-18 13:50:09 -0800
commit1aed21a8c50fe075e8abce9db30c3860673f0fc7 (patch)
tree96c619f58ca0e8e447b1daa9d256fec7ec517c32 /.github/workflows
parenta83f4b8905484fb2b81c7fd71430ccf3aabe24cd (diff)
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml6
1 files 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}'