Skip to content

Commit fdc222c

Browse files
GHA: Test pip install with Mingw64 python and gcc (#75)
* GHA: Test pip install with Mingw64 python and gcc * chore: enforce pybind11 2.7.0 Co-authored-by: Henry Schreiner <[email protected]>
1 parent ee796d4 commit fdc222c

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/pip.yml

+21
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,24 @@ jobs:
4848

4949
- name: Test
5050
run: python tests/test.py
51+
52+
build-mingw64:
53+
runs-on: windows-latest
54+
defaults:
55+
run:
56+
shell: msys2 {0}
57+
steps:
58+
- uses: msys2/setup-msys2@v2
59+
with:
60+
update: true
61+
install: >-
62+
mingw-w64-x86_64-gcc
63+
mingw-w64-x86_64-python-pip
64+
65+
- uses: actions/checkout@v2
66+
67+
- name: Build and install
68+
run: pip install .
69+
70+
- name: Test
71+
run: python tests/test.py

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"setuptools>=42",
44
"wheel",
5-
"pybind11>=2.6.0",
5+
"pybind11>=2.7.0",
66
]
77

88
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)