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