Browse Source

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 <HenrySchreinerIII@gmail.com>
master
Jerome Robert 4 years ago committed by GitHub
parent
commit
fdc222cbee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      .github/workflows/pip.yml
  2. 2
      pyproject.toml

21
.github/workflows/pip.yml

@ -48,3 +48,24 @@ jobs: @@ -48,3 +48,24 @@ jobs:
- name: Test
run: python tests/test.py
build-mingw64:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
mingw-w64-x86_64-gcc
mingw-w64-x86_64-python-pip
- uses: actions/checkout@v2
- name: Build and install
run: pip install .
- name: Test
run: python tests/test.py

2
pyproject.toml

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
requires = [
"setuptools>=42",
"wheel",
"pybind11>=2.6.0",
"pybind11>=2.7.0",
]
build-backend = "setuptools.build_meta"

Loading…
Cancel
Save