Skip to content

Commit

Permalink
MSYS2 workflow experiment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Oct 1, 2023
1 parent db8d1f6 commit ec658f7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: msys2
on: [push, workflow_dispatch]
defaults:
run:
shell: msys2 -l {0}
env:
LD_LIBRARY_PATH: /usr/local/lib
PKG_CONFIG_PATH: /usr/local/share/pkgconfig

jobs:
c:
name: windows-2022 / C
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
pacboy: cmake:p gcc:p make:p pkg-config:p
- run: ./run.sh
- run: cd tests && mingw32-make && ./tests
python:
name: windows-2022 / Python
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
pacboy: gcc:p python:p
- run: python3 -m pip install .
- run: python3 examples/Python/thread-safe.py

0 comments on commit ec658f7

Please sign in to comment.