Added config file for CI and updted gh workflows

This commit is contained in:
Rosalie Wagner 2022-01-26 11:20:07 +01:00
parent 52f713f9bb
commit 5ee58c58b2
3 changed files with 53 additions and 4 deletions

View file

@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
python-version: [3.8]
name: Build Lexend VF
name: Build VF and statics
steps:
- name: Check out Lexend sources repository
uses: actions/checkout@v2
@ -38,7 +38,7 @@ jobs:
update-wheel: "true"
update-setuptools: "true"
- name: Build fonts
run: sh sources/build.sh
run: gftools builder sources/lexend.yaml
- name: Upload Fonts
uses: actions/upload-artifact@v2
with:

View file

@ -28,11 +28,11 @@ jobs:
update-wheel: "true"
update-setuptools: "true"
- name: Build fonts
run: gftools builder sources/lexend.yaml
run: gftools builder sources/lexend-CI.yaml
- name: Make Fontbakery Report
uses: f-actions/font-bakery@v1
with:
version: "latest"
subcmd: "check-googlefonts"
args: "--succinct --loglevel WARN --ghmarkdown report.md"
path: "fonts/lexend/variable/*.ttf"
path: "fonts/CI/*.ttf"

49
sources/lexend-CI.yaml Normal file
View file

@ -0,0 +1,49 @@
sources:
- Lexend.glyphs
familyName: Lexend
outputDir: ../fonts/CI
buildStatic: False
axisOrder:
- HEXP
- wght
stat:
- name: Hyper Expansion
tag: HEXP
values:
- name: Deca
value: 0
- name: Exa
value: 40
- name: Giga
value: 56
- name: Mega
value: 64
- name: Peta
value: 72
- name: Tera
value: 80
- name: Zetta
value: 100
- name: Weight
tag: wght
values:
- name: Thin
value: 100
- name: ExtraLight
value: 200
- name: Light
value: 300
- name: Regular
value: 400
linkedValue: 700
flags: 2
- name: Medium
value: 500
- name: SemiBold
value: 600
- name: Bold
value: 700
- name: ExtraBold
value: 800
- name: Black
value: 900