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
783a3789
Commit
783a3789
authored
Oct 10, 2021
by
michael-grunder
Committed by
Michael Grunder
Oct 10, 2021
Browse files
Add Windows tests in GitHub actions
See: #992 TODO: MinGW/cygwin tests
parent
0cac8dae
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
View file @
783a3789
...
@@ -63,3 +63,27 @@ jobs:
...
@@ -63,3 +63,27 @@ jobs:
-
name
:
Run tests
-
name
:
Run tests
run
:
$GITHUB_WORKSPACE/test.sh
run
:
$GITHUB_WORKSPACE/test.sh
windows
:
runs-on
:
windows-latest
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
with
:
repository
:
${{ env.GITHUB_REPOSITORY }}
ref
:
${{ env.GITHUB_HEAD_REF }}
-
name
:
Install dependencies
run
:
|
choco install -y ninja memurai-developer
-
uses
:
ilammy/msvc-dev-cmd@v1
-
name
:
Build hiredis
run
:
|
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_EXAMPLES=ON
ninja -v
-
name
:
Run tests
run
:
|
./build/hiredis-test.exe
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