Skip to content

Commit

Permalink
test with manylinux_2_28
Browse files Browse the repository at this point in the history
  • Loading branch information
musicEnfanthen committed Jan 17, 2024
1 parent 7fc8198 commit 5e65752
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/python-ci-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,19 @@ jobs:
nuget-version: "latest"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
#===============================================#
# Dependencies
Expand All @@ -82,16 +91,15 @@ jobs:
#===============================================#
# wheels
- name: Build wheels
uses: pypa/[email protected].1
uses: pypa/[email protected].2
with:
output-dir: wheelhouse
env:
CIBW_SKIP: cp37-macosx_arm64
CIBW_BUILD: ${{ env.CIBW_BUILD_IDENTIFIER }}
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_TEST_SKIP: cp*-macosx_arm64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_IMAGE: manylinux_2_28
CIBW_BEFORE_ALL_MACOS: brew update && brew install swig
CIBW_BEFORE_ALL_WINDOWS: choco install swig -f -y
CIBW_BEFORE_BUILD: swig -version && bash -c 'cd tools; ./get_git_commit.sh' && swig -c++ -python -py3 ./bindings/python/verovio.i
Expand Down Expand Up @@ -132,7 +140,7 @@ jobs:

#===============================================#
# Upload artifacts
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: cibuildwheel-${{ runner.os }}-python-${{ matrix.python-version }}
path: ./wheelhouse/*.whl
Expand All @@ -152,7 +160,7 @@ jobs:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"

Expand Down Expand Up @@ -208,7 +216,7 @@ jobs:

#===============================================#
# Upload artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sdist-${{ runner.os }}-python-3.9
path: dist/*.tar.gz
Expand All @@ -227,7 +235,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"
architecture: "x64"
Expand All @@ -242,7 +250,7 @@ jobs:
#===============================================#
# Prepare artifacts
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: bindings/python/artifacts/

Expand Down

0 comments on commit 5e65752

Please sign in to comment.