Skip to content

Commit d9f2b27

Browse files
committed
add github action to ensure that ECP-ST-CAR always builds
This adds a [github action](https://help.github.com/en/articles/workflow-syntax-for-github-actions) that builds the document on every pull request. The goal is to ensure that it builds before merging.
1 parent c119b32 commit d9f2b27

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
2+
name: build document
3+
on: [push, pull_request]
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: checkout
9+
uses: actions/checkout@v2
10+
- name: install prerequisites
11+
run: sudo apt-get install make
12+
- name: Compile LaTeX document
13+
uses: xu-cheng/latex-action@v2
14+
with:
15+
root_file: ECP-ST-CAR.tex
16+
compiler: make
17+
args:

0 commit comments

Comments
 (0)