-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (56 loc) · 1.6 KB
/
CI-static-ttf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CI Static ttf
on: #push
push:
branches:
- main
paths:
- sources/**
pull_request:
branches:
- main
paths:
- sources/**
jobs:
static-font-ci-job:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
name: CI Static ttf
steps:
- name: Check out source repository
uses: actions/checkout@v2
- name: Set up Python v${{ matrix.python-version }} environment
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Python build dependency cache lookup
uses: actions/cache@v1
with:
path: ~/.cache/pip
# Check for requirements file cache hit
key: ${{ runner.os }}-pip-${{ hashFiles('${{ steps.config.outputs.dependpath }}') }}
- name: Install Python build dependencies
uses: py-actions/py-dependency-install@v2
with:
update-wheel: "true"
update-setuptools: "true"
- name: Install ttfautohint
run: |
sudo apt-get update
sudo apt-get install ttfautohint
- name: Build fonts
id: build_fonts
run: gftools builder sources/config.yml
- name: Upload Fonts
uses: actions/upload-artifact@v2
with:
name: Arizonia-Font
path: fonts/
- name: Make Fontbakery Report
uses: f-actions/font-bakery@v1
with:
version: "latest"
subcmd: "check-googlefonts"
args: "-C --succinct --loglevel WARN --ghmarkdown fonts/report.md"
path: "fonts/ttf/*.ttf"