File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ ubuntu-build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - name : Setup environment
11
+ run : |
12
+ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
13
+ sudo apt-get update
14
+ sudo apt-get install ninja-build
15
+ sudo apt-get install texlive*
16
+ - name : Build
17
+ run : |
18
+ find . -iname '*.tex' -exec pdflatex {} \;
19
+ - uses : actions/upload-artifact@v4
20
+ with :
21
+ name : pdf-linux
22
+ path : ' *.pdf'
23
+ macos-build :
24
+ runs-on : macos-latest
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+ - name : Setup environment
28
+ run : |
29
+ brew install --cask mactex
30
+ - name : Build
31
+ run : |
32
+ eval "$(/usr/libexec/path_helper)"
33
+ find . -iname '*.tex' -exec pdflatex {} \;
34
+ - uses : actions/upload-artifact@v4
35
+ with :
36
+ name : pdf-macos
37
+ path : ' *.pdf'
You can’t perform that action at this time.
0 commit comments