add github workflow

This commit is contained in:
Xiangdong Zeng 2022-11-13 21:19:21 +08:00
parent d4227ad567
commit b426c31aae
No known key found for this signature in database
GPG Key ID: 05836919CCFC0F54
2 changed files with 27 additions and 0 deletions

24
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: build
on: push
jobs:
build:
runs-on: ubuntu-latest
name: Build Smiley Sans
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -r requirements.txt
- name: Build fonts
run: source build.sh
- uses: actions/upload-artifact@v3
with:
name: smiley-sans
path: |
build/*.otf
build/*.ttf
build/*.woff2

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
brotli
fontmake
fonttools