mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-31 10:53:18 -06:00
try using virtual environment for python on macOS
This commit is contained in:
1 parent
937d072dc4
commit
52c556b784
1 file changed
+7
-2
@@ -237,9 +237,14 @@ jobs:
|
|||||||
sudo mv lib/* /opt/homebrew/lib/
|
sudo mv lib/* /opt/homebrew/lib/
|
||||||
sudo mv include/* /opt/homebrew/include/
|
sudo mv include/* /opt/homebrew/include/
|
||||||
|
|
||||||
|
- name: Create Python virtual environment
|
||||||
|
run: |
|
||||||
|
python3 -m venv .venv
|
||||||
|
.venv/bin/python -m pip install --upgrade pip
|
||||||
|
|
||||||
- name: Install cibuildwheel
|
- name: Install cibuildwheel
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main
|
.venv/bin/python -m pip install git+https://github.com/joerick/cibuildwheel.git@main
|
||||||
|
|
||||||
- name: Install and test bindings
|
- name: Install and test bindings
|
||||||
env:
|
env:
|
||||||
@@ -247,7 +252,7 @@ jobs:
|
|||||||
CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python"
|
CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python"
|
||||||
CIBW_SKIP: "pp* cp36* cp37* cp38* cp39*"
|
CIBW_SKIP: "pp* cp36* cp37* cp38* cp39*"
|
||||||
run: |
|
run: |
|
||||||
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
.venv/bin/python -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user