1
0
forked from GitHub/gf-core

try using wheels on ubuntu

This commit is contained in:
Krasimir Angelov
2023-01-25 11:18:40 +01:00
parent ea66124317
commit 5ff03007c6

View File

@@ -70,17 +70,21 @@ jobs:
sudo mv lib/* /usr/local/lib/
sudo mv include/* /usr/local/include/
- name: Install bindings
working-directory: ./src/runtime/python
- name: Install cibuildwheel
run: |
python setup.py build
sudo python setup.py install
python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main
- name: Run testsuite
working-directory: ./src/runtime/python
- name: Install and test bindings
env:
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)"
run: |
pip install pytest
pytest
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse
- uses: actions/upload-artifact@master
with:
name: python-linux
path: ./wheelhouse
# ubuntu-javascript:
# name: JavaScript (Ubuntu)
@@ -199,7 +203,7 @@ jobs:
run: |
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@master
with:
name: python-macos
path: ./wheelhouse