Skip to content

Commit

Permalink
MSYS on GitHub Actions does not have /dev/urandom, so try Cygwin.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Sep 26, 2023
1 parent 60addcd commit cf5a5c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: windows-build
on: [push, workflow_dispatch]
defaults:
run:
shell: msys2 {0}
shell: bash

jobs:
python:
runs-on: windows-2022
steps:
- uses: msys2/setup-msys2@v2
- uses: cygwin/cygwin-install-action@v4
with:
msystem: UCRT64
pacboy: cmake:p gcc:p make:p python:p
packages: cmake gcc-g++ make git python3 python3-devel
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- run: python -m ensurepip
- run: SETUPTOOLS_USE_DISTUTILS=stdlib python -m pip install .
- run: python -m pip install .
- run: python examples/Python/thread-safe.py

0 comments on commit cf5a5c5

Please sign in to comment.