mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
try using wheels on ubuntu
This commit is contained in:
22
.github/workflows/build-majestic.yml
vendored
22
.github/workflows/build-majestic.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user