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:
|
||||
- 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
|
||||
uses: actions/download-artifact@master
|
||||
with:
|
||||
name: libpgf-windows
|
||||
|
||||
- name: Install cibuildwheel
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main
|
||||
|
||||
- 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
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user