forked from rism-digital/verovio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fc8198
commit 5e65752
Showing
1 changed file
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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" | ||
|
||
|
@@ -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 | ||
|
@@ -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" | ||
|
@@ -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/ | ||
|
||
|