Skip to content

Commit

Permalink
[ci] add OTS tests on GS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Nov 20, 2023
1 parent 151d75b commit 8433b02
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 8433b02

Please sign in to comment.