Skip to content

Commit

Permalink
windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Oct 11, 2023
1 parent 76a899d commit a1d3e55
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/zstd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,24 @@ jobs:
workflow: ${{ github.workflow }}
artifact: build-musl

windows-msys2:
windows-mingw:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-windows-msys2.yml
with:
workflow: ${{ github.workflow }}
msys2_install: make git mingw-w64-x86_64-gcc
toolset: mingw

test-windows:
needs: windows-mingw
uses: ./.github/workflows/test-windows.yml
with:
workflow: ${{ github.workflow }}
artifact: build-mingw

test-nanoserver:
needs: windows-mingw
uses: ./.github/workflows/test-nanoserver.yml
with:
workflow: ${{ github.workflow }}
artifact: build-mingw
8 changes: 8 additions & 0 deletions zstd/test_windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

testVersion() {
assertEquals "*** Zstandard CLI (64-bit) v1.5.5, by Yann Collet ***" "$(../bin/zstd.exe --version)"
}

# Load and run shUnit2.
source "../.tests/shunit2/shunit2"

0 comments on commit a1d3e55

Please sign in to comment.