forked from GitHub/gf-core
test
This commit is contained in:
26
.github/workflows/build-majestic.yml
vendored
26
.github/workflows/build-majestic.yml
vendored
@@ -290,33 +290,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup MSYS2
|
|
||||||
uses: msys2/setup-msys2@v2
|
|
||||||
with:
|
|
||||||
msystem: MINGW64
|
|
||||||
install: >-
|
|
||||||
git
|
|
||||||
mingw-w64-x86_64-python3
|
|
||||||
mingw-w64-x86_64-python3-pip
|
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@master
|
uses: actions/download-artifact@master
|
||||||
with:
|
with:
|
||||||
name: libpgf-windows
|
name: libpgf-windows
|
||||||
|
|
||||||
- name: Install cibuildwheel
|
- name: Setup Python
|
||||||
shell: msys2 {0}
|
uses: actions/setup-python@v4
|
||||||
run: |
|
with:
|
||||||
python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main
|
python-version: '3.10'
|
||||||
|
|
||||||
- name: Install and test bindings
|
|
||||||
shell: msys2 {0}
|
|
||||||
env:
|
|
||||||
CIBW_TEST_REQUIRES: pytest
|
|
||||||
CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)"
|
|
||||||
CIBW_SKIP: "*-win32"
|
|
||||||
run: |
|
|
||||||
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user