Skip to content

Commit 0e7b120

Browse files
committedSep 13, 2024·
Add Ubuntu CI build and artifacts push
1 parent 212c466 commit 0e7b120

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎.github/workflows/build.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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'

0 commit comments

Comments
 (0)
Please sign in to comment.