forked from googlefonts/roboto-3-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.1 KB
/
build.yaml
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
name: Roboto
on: [pull_request]
jobs:
build:
name: Build Roboto
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
with:
# TODO use build matrix?
python-version: 3.10.16
- name: Install dependencies
run: |
sudo apt install libharfbuzz-dev libharfbuzz-bin libcairo2-dev jq
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
- name: Build fonts
run: sh sources/build.sh
- name: Test fonts
run: |
fontbakery check-profile tests/test_general.py fonts/unhinted/Roboto[ital,wdth,wght].ttf
fontbakery check-profile tests/test_android.py fonts/android/Roboto[ital,wdth,wght].ttf
fontbakery check-profile tests/test_web.py fonts/web/Roboto[ital,wdth,wght].ttf
sh scripts/regression_test.sh
- name: Upload
uses: actions/upload-artifact@v4
with:
name: roboto_files
path: |
fonts/
diffs/