-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updates for OTS v9.2.0 - modify config/build script to use ots v.9.2.0 & related dependencies - drop Python 3.8; add Python 3.12 - minor doc updates - tested against https://github.com/googlefonts/ots-python/releases/tag/v9.2.0
- Loading branch information
1 parent
7e78a08
commit fa59031
Showing
5 changed files
with
23 additions
and
17 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 |
---|---|---|
|
@@ -36,12 +36,16 @@ jobs: | |
with: | ||
python-version: '3.9' | ||
|
||
- name: Set up msbuild (Windows only) | ||
uses: microsoft/[email protected] | ||
if: startsWith(matrix.os, 'windows') | ||
|
||
- name: Build wheel | ||
uses: pypa/[email protected] | ||
with: | ||
output-dir: dist | ||
env: | ||
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*" | ||
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*" | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
CIBW_ENVIRONMENT_MACOS: "CFLAGS='-arch arm64 -arch x86_64' CXXFLAGS='-arch arm64 -arch x86_64' LDFLAGS='-arch arm64 -arch x86_64'" | ||
CIBW_ARCHS_LINUX: x86_64 | ||
|
@@ -57,16 +61,21 @@ jobs: | |
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheelstorage | ||
name: wheelstorage-${{ matrix.os }} | ||
path: ./dist/* | ||
if-no-files-found: error | ||
retention-days: 30 | ||
|
||
publish_release: | ||
name: Publish Release | ||
needs: build_wheels | ||
needs: | ||
- build_wheels | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
permissions: | ||
id-token: write | ||
contents: write # Required by 'action-gh-release' | ||
|
||
steps: | ||
|
@@ -82,17 +91,14 @@ jobs: | |
echo "VERSION=$FLAT_TAG" >> "$GITHUB_OUTPUT" | ||
shell: bash | ||
|
||
- name: Download release assets | ||
- name: Download release assets for ${{ matrix.os }} | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: wheelstorage | ||
name: wheelstorage-${{ matrix.os }} | ||
path: dist | ||
|
||
- name: Publish dist(s) to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
|
||
- name: Create GitHub Release | ||
uses: softprops/action-gh-release@v2 | ||
|
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[download] | ||
; OpenType Sanitizer version that is downloaded from setup.py | ||
version = 9.1.0 | ||
version = 9.2.0 | ||
; expected SHA-256 of the downloaded tarball. E.g. you can calculate it with: | ||
; $ shasum -a 256 ots-X.X.X.tar.xz | ||
sha256 = e52efca9b6af41121deb71d867c6440b2d89b4cf189a9004f62a3989514acc22 | ||
sha256 = 1a1e50cd7ecea27c4ef04c5b1491c21e75555f35bf91e27103ede04ddd11e053 |
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