-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (34 loc) · 933 Bytes
/
test-fonts.yml
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
---
name: Fiati Test
on:
pull_request
jobs:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/silnrsi/smith:latest
volumes:
- /home/runner/work/_temp/_github_home/smith:/smith
steps:
- uses: actions/checkout@v4
- name: Install smith toolchain
id: install-smith
run: |
apt-get update -qy
apt-get install -qy --no-install-recommends fontforge
pip3 install fontbakery
- name: Configure / build / test
id: build-font
run: |
chown -R root:root /smith/ /github/home/
cp -R results/* source/* tests/* preflight run.sh wscript /smith/
cd /smith
ls -la
chmod +x ./run.sh
./run.sh --test
- name: Upload artifacts
id: upload-artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: /smith/results