-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (35 loc) · 1.23 KB
/
sile.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
37
38
name: SILE
on: [ push, pull_request ]
jobs:
sile:
strategy:
fail-fast: false
matrix:
# Test oldest compatible release plus newest patch of each minor bump since
sileVersion: [ "v0.14.8", "v0.14.10" ]
runs-on: ubuntu-latest
container:
image: ghcr.io/sile-typesetter/sile:${{ matrix.sileVersion }}
options: --entrypoint=bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Freshen runner image
run: pacman -Sy && pacman --noconfirm --needed -S archlinux-keyring && pacman --noconfirm -Su
- name: Install dev dependencies
run: pacman --noconfirm --needed -S luarocks make words
- name: Build and install locally
run: make install
- name: Run test template
run: ./lua_modules/bin/fontproof -t test -o test.pdf
- name: Run gutenberg template
run: ./lua_modules/bin/fontproof -t gutenberg -o gutenberg.pdf
- name: Run unichar template
run: ./lua_modules/bin/fontproof -t unichar -o unichar.pdf
- name: Run full template
run: ./lua_modules/bin/fontproof -t full -o full.pdf
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: fp-template-tests.zip
path: '*.pdf'