chore: use docker image from smith #17
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: 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/ | |
cp -R source/* tests/* preflight run.sh wscript /smith/ | |
cd /smith | |
mkdir results | |
chmod +x ./run.sh | |
./run.sh --test | |
- name: Upload artifacts | |
id: upload-artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
path: /smith/results |