mirror of
https://github.com/weiweihuanghuang/Work-Sans.git
synced 2024-11-22 12:14:09 +03:00
95723edc57
Added MakeFile for building the font from source. Verified working in Mac Word.
37 lines
856 B
YAML
37 lines
856 B
YAML
name: Build font and specimen
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install Linux dependencies
|
|
run: |
|
|
sudo snap install yq
|
|
- name: Build font
|
|
run: make build
|
|
- name: Check with fontbakery
|
|
run: make test
|
|
continue-on-error: true
|
|
- name: Generate proofs
|
|
run: make proof
|
|
- name: Gather
|
|
run: |
|
|
mkdir for-gh-pages
|
|
mv fontbakery-report.html for-gh-pages
|
|
mv proof/* for-gh-pages
|
|
- name: Archive artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Artifacts
|
|
path: |
|
|
for-gh-pages
|
|
- name: Remove temp folder
|
|
run: |
|
|
rm -rf for-gh-pages |