Skip to content

Commit c191f89

Browse files
authored
Merge pull request #5 from learning-process/ci
Add CI build and artifacts push
2 parents 212c466 + 0e7b120 commit c191f89

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)