Skip to content

Commit

Permalink
Testing python wheels on linux/aarch64 as well, fixing python test ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
merschformann committed Jan 30, 2025
1 parent 4d6de51 commit f760172
Showing 1 changed file with 36 additions and 7 deletions.
43 changes: 36 additions & 7 deletions .github/workflows/build-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ jobs:
# does not seem to provide all necessary modules to find python
# from cmake. works on my machine, test the wheels manually
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.12]
steps:
- uses: actions/checkout@v4
# strategy:
# matrix:
# python: [3.12]

- name: Install correct python version
uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python }}
with:
python-version: ${{ matrix.python }}

- name: Build wheel
run: |
python3 --version
python3 -m pip install cibuildwheel
python3 -m cibuildwheel --only cp310-manylinux_x86_64 $GITHUB_WORKSPACE
python3 -m cibuildwheel --only cp311-manylinux_x86_64 $GITHUB_WORKSPACE
- name: Install wheel
run: |
Expand All @@ -105,7 +105,36 @@ jobs:
run: |
python3 -m pip install pytest
python3 -m pytest $GITHUB_WORKSPACE
build_wheel_linux_arm:
runs-on: ubuntu-24.04-arm
strategy:
matrix:
python: [3.12]
steps:
- uses: actions/checkout@v4

- name: Install python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Build wheel
run: |
python3 --version
python3 -m pip install cibuildwheel
python3 -m cibuildwheel --only cp311-manylinux_aarch64 $GITHUB_WORKSPACE
- name: Install wheel
run: |
ls wheelhouse
python3 -m pip install wheelhouse/*.whl
- name: Test highspy
run: |
python3 -m pip install pytest
python3 -m pytest $GITHUB_WORKSPACE
# macos 13 is Intel
build_wheel_macos_13:
runs-on: macos-13
Expand Down

0 comments on commit f760172

Please sign in to comment.