-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 1.4 KB
/
ci.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CI
on: [push, pull_request]
jobs:
CI:
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install TeX Live
run: |
curl --location --remote-name --show-error --silent http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xf install-tl-unx.tar.gz
cd install-tl-20*
echo -e 'selected_scheme scheme-basic\nTEXDIR /usr/local/texlive\noption_doc 0\noption_src 0' > texlive.profile
sudo ./install-tl -no-gui -profile=texlive.profile
echo /usr/local/texlive/bin/universal-darwin >> $GITHUB_PATH
- name: Install TeX packages
run: >
sudo tlmgr install
biber
biblatex
biblatex-chicago
booktabs
csquotes
datetime2
datetime2-english
fontspec
libertinus-fonts
multirow
newunicodechar
pdfcrop
pgf
tex-gyre
xstring
- name: Install font
run: sudo ln -s /usr/local/texlive/texmf-dist/fonts/opentype/public/libertinus-fonts /Library/Fonts
- name: Install LilyPond
run: brew install nwhetsell/lilypond/lilypond-unstable && brew link lilypond-unstable
- name: Create cheat sheet
run: make
- name: Archive PDF
uses: actions/upload-artifact@main
with:
name: artifacts
path: instrumentation-cheat-sheet-*.pdf