adds spac100 masters, adds multiple components and glyphs to build co… #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Fonts | |
on: | |
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: Build VF and statics | |
steps: | |
- name: Check out Lexend sources 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: Build fonts | |
run: gftools builder sources/lexend.yaml | |
- name: Upload Fonts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Fonts | |
path: fonts/lexend/ |