Skip to content

Commit

Permalink
Enable windows-latest builds in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Feb 21, 2023
1 parent 6097b6f commit 8c1d9ed
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
# Run tests on each OS/Python combination
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
# TODO: Add windows-latest when gpg issues are solved
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
toxenv: [py]

include:
Expand Down Expand Up @@ -63,10 +62,9 @@ jobs:
brew install softhsm
echo "PYKCS11LIB=$(brew --prefix softhsm)/lib/softhsm/libsofthsm2.so" >> $GITHUB_ENV
# TODO: Uncomment when testing on Windows
# elif [ "$RUNNER_OS" == "Windows" ]; then
# choco install softhsm.install
# echo "PYKCS11LIB=C:\SoftHSM2\lib\softhsm2-x64.dll" >> $GITHUB_ENV
elif [ "$RUNNER_OS" == "Windows" ]; then
choco install softhsm.install
echo "PYKCS11LIB=C:\SoftHSM2\lib\softhsm2-x64.dll" >> $GITHUB_ENV
else
echo "$RUNNER_OS not supported"
Expand Down

0 comments on commit 8c1d9ed

Please sign in to comment.