-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.37 KB
/
ldm503.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Test LDM-503 generation
on:
push:
branches-ignore:
- main
pull_request:
branches-ignore:
- main
jobs:
ldm-503-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check out LFS files
run: |
git lfs install
git config -f .lfsconfig lfs.url https://git-lfs.lsst.cloud/lsst-dm/milestones
git lfs pull
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Check out LDM-503 source
run: >
GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 --recurse-submodules
--shallow-submodules https://github.com/lsst/ldm-503.git
- name: Replace LDM-503 milestones submodule
run: |
rm -rf milestones
ln -s .. ./milestones
make generated
working-directory: ./ldm-503
- name: Build LDM-503 docker
run: |
docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c 'make'
- name: Upload resulting document as artifact
uses: actions/upload-artifact@v4
with:
name: LDM-503 PDF
path: ./ldm-503/LDM-503.pdf