Skip to content

Commit

Permalink
Merge pull request #589 from googlefonts/chrissimpkins-ots-tests-on-gs
Browse files Browse the repository at this point in the history
[ci] Add OTS tests on GS builds
  • Loading branch information
anthrotype authored Nov 22, 2023
2 parents 59596e9 + 8433b02 commit 0a2d4b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/gsbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ jobs:
with:
repository: googlefonts/googlesans
token: ${{ secrets.GS_READ_FONTC }}
- name: Download and unzip OTS v9.1.0
run: |
curl -OL "https://github.com/khaledhosny/ots/releases/download/v9.1.0/ots-9.1.0-Linux.zip"
unzip "ots-9.1.0-Linux.zip" "ots-9.1.0-Linux/ots-sanitize"
- name: Compile Roman variable font
run: fontc source/GoogleSans/GoogleSans.designspace
- name: OTS tests, Roman
run: ots-9.1.0-Linux/ots-sanitize build/font.ttf
- name: Compile Italic variable font
run: fontc source/GoogleSans/GoogleSans-Italic.designspace
- name: OTS tests, Italic
run: ots-9.1.0-Linux/ots-sanitize build/font.ttf

0 comments on commit 0a2d4b8

Please sign in to comment.