Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
6ad4ccf3
Commit
6ad4ccf3
authored
Oct 10, 2021
by
michael-grunder
Committed by
Michael Grunder
Oct 12, 2021
Browse files
Add Cygwin build test
parent
783a3789
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
View file @
6ad4ccf3
...
...
@@ -87,3 +87,21 @@ jobs:
-
name
:
Run tests
run
:
|
./build/hiredis-test.exe
-
name
:
Setup cygwin
uses
:
egor-tensin/setup-cygwin@v3
with
:
platform
:
x64
packages
:
cmake gcc-core gcc-g++
-
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
}
build_hiredis
shell
:
C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment