Skip to content

Commit

Permalink
Merge branch 'develop' into develop-humdrum
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Nov 13, 2024
2 parents f475a11 + 911d63c commit e5536a9
Show file tree
Hide file tree
Showing 125 changed files with 5,550 additions and 38,666 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ env:
# build artifacts
DOC_BUILD: doc-build
TOOLKIT_BUILD: toolkit-build
FONTS: fonts

# doxygen
DOXYGEN_REPO: ${{ github.repository_owner }}/verovio-doxygen # works from rism-digital and from forks
Expand Down Expand Up @@ -276,9 +277,9 @@ jobs:

- name: Upload js build artifact (${{ matrix.toolkit.target }})
if: ${{ matrix.toolkit.upload == true }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.3
with:
name: ${{ env.TOOLKIT_BUILD }}
name: ${{ env.TOOLKIT_BUILD }}-${{ github.run_id }}
path: ${{ github.workspace }}/${{ env.TEMP_DIR }}/${{ matrix.toolkit.filepath }}


Expand All @@ -301,9 +302,9 @@ jobs:
run: cp data/*.css $GITHUB_WORKSPACE/$TEMP_DIR/data/

- name: Upload font data artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.3
with:
name: ${{ env.TOOLKIT_BUILD }}
name: ${{ env.FONTS }}-${{ github.run_id }}
path: ${{ github.workspace }}/${{ env.TEMP_DIR }}

##################################
Expand Down Expand Up @@ -366,15 +367,25 @@ jobs:
path: ${{ env.GH_PAGES_DIR }}

- name: Download TOOLKIT_BUILD artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: ${{ env.TOOLKIT_BUILD }}
name: ${{ env.TOOLKIT_BUILD }}-${{ github.run_id }}
path: artifacts/${{ env.TOOLKIT_BUILD }}

- name: Copy artifacts to gh-pages
- name: Copy the toolkit artifacts to gh-pages
run: |
cp -r artifacts/$TOOLKIT_BUILD/* $GH_PAGES_DIR/javascript/develop/
- name: Download FONTS artifacts
uses: actions/[email protected]
with:
name: ${{ env.FONTS }}-${{ github.run_id }}
path: artifacts/${{ env.FONTS }}

- name: Copy the fonts artifacts to gh-pages
run: |
cp -r artifacts/$FONTS/* $GH_PAGES_DIR/javascript/develop/
- name: Check git status before commit
working-directory: ${{ env.GH_PAGES_DIR }}
run: |
Expand Down Expand Up @@ -455,9 +466,9 @@ jobs:
run: (cat verovio.conf ; echo "OUTPUT_DIRECTORY = $GITHUB_WORKSPACE/$DOXYGEN_DIR") | doxygen -

- name: Upload doxygen build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.3
with:
name: ${{ env.DOC_BUILD }}
name: ${{ env.DOC_BUILD }}-${{ github.run_id }}
path: ${{ github.workspace }}/${{ env.DOXYGEN_DIR }}

###############################################
Expand Down Expand Up @@ -485,9 +496,9 @@ jobs:
path: ${{ env.DOXYGEN_DIR }}

- name: Download DOC_BUILD artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: ${{ env.DOC_BUILD }}
name: ${{ env.DOC_BUILD }}-${{ github.run_id }}
path: artifacts/${{ env.DOC_BUILD }}

- name: Remove old doc and copy build artifacts to DOXYGEN_DIR
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-ci-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Build the wheels for Linux, Windows and macOS
matrix:
os: [macos-13, macos-14, windows-latest, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
architecture: [x86, x64, arm64]
include:
- os: macos-13
Expand Down Expand Up @@ -96,19 +96,19 @@ jobs:
#===============================================#
# wheels
- name: Build wheels
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
with:
output-dir: wheelhouse
env:
CIBW_BUILD: ${{ env.CIBW_BUILD_IDENTIFIER }}
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ENVIRONMENT_MACOS:
MACOSX_DEPLOYMENT_TARGET=10.15
MACOSX_DEPLOYMENT_TARGET=11
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
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
CIBW_BEFORE_BUILD: swig -version && bash -c 'cd tools; ./get_git_commit.sh' && swig -c++ -python -py3 -fastproxy -olddefs ./bindings/python/verovio.i

#===============================================#
# Check build
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
#===============================================#
# Prepare artifacts
- name: Download artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@v4.1.7 # v4.1.7
with:
path: bindings/python/artifacts/

Expand Down
Loading

0 comments on commit e5536a9

Please sign in to comment.