Commit 783a3789 authored by michael-grunder's avatar michael-grunder Committed by Michael Grunder
Browse files

Add Windows tests in GitHub actions

See: #992

TODO:  MinGW/cygwin tests
parent 0cac8dae
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment