| 1 |
name: Build font and specimen |
| 2 |
|
| 3 |
on: [push] |
| 4 |
|
| 5 |
jobs: |
| 6 |
build: |
| 7 |
runs-on: ubuntu-latest |
| 8 |
steps: |
| 9 |
- uses: actions/checkout@v2 |
| 10 |
- name: Set up Python 3.8 |
| 11 |
uses: actions/setup-python@v2 |
| 12 |
with: |
| 13 |
python-version: 3.8 |
| 14 |
- name: Install Linux dependencies |
| 15 |
run: | |
| 16 |
sudo snap install yq |
| 17 |
- name: Build font |
| 18 |
run: make build |
| 19 |
- name: Check with fontbakery |
| 20 |
run: make test |
| 21 |
continue-on-error: true |
| 22 |
- name: Generate proofs |
| 23 |
run: make proof |
| 24 |
- name: Gather |
| 25 |
run: | |
| 26 |
mkdir for-gh-pages |
| 27 |
mv fontbakery-report.html for-gh-pages |
| 28 |
mv proof/* for-gh-pages |
| 29 |
- name: Archive artifacts |
| 30 |
uses: actions/upload-artifact@v2 |
| 31 |
with: |
| 32 |
name: Artifacts |
| 33 |
path: | |
| 34 |
for-gh-pages |
| 35 |
- name: Remove temp folder |
| 36 |
run: | |
| 37 |
rm -rf for-gh-pages |