forked from openshmem-org/specification
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (20 loc) · 764 Bytes
/
main.yml
File metadata and controls
24 lines (20 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
- name: Build PDF
run: make LATEXOPT="-interaction nonstopmode -halt-on-error"
- name: Rename PDF
run: mv main_spec.pdf openshmem-draft-${{ github.event.pull_request.head.sha }}.pdf
- name: Upload PDF artifact
uses: actions/upload-artifact@v4
with:
name: openshmem-draft-${{ github.event.pull_request.head.sha }}
path: openshmem-draft-${{ github.event.pull_request.head.sha }}.pdf