-
-
Notifications
You must be signed in to change notification settings - Fork 62
58 lines (58 loc) · 1.81 KB
/
build-pr.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
name: Build PR
on:
pull_request:
branches:
- main
jobs:
build-alpine:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build Docker image
uses: ./.github/actions/build/
with:
context: ./alpine/
load: true
tags: |
paperist/texlive-ja:alpine
- name: Test
run: |
docker run --rm -v ${PWD}/tests:/workdir paperist/texlive-ja:alpine \
sh -c 'latexmk -C main.tex && latexmk main.tex && latexmk -c main.tex';
- name: Upload result
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: alpine
path: ./tests/main.pdf
build-debian:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build Docker image
uses: ./.github/actions/build/
with:
context: ./debian/
load: true
tags: |
paperist/texlive-ja:debian
- name: Test
run: |
docker run --rm -v ${PWD}/tests:/workdir paperist/texlive-ja:debian \
sh -c 'latexmk -C main.tex && latexmk main.tex && latexmk -c main.tex';
- name: Upload result
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: debian
path: ./tests/main.pdf
build-debian-arm64:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build Docker image
uses: ./.github/actions/build/
with:
context: ./debian/
platforms: linux/arm64