Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
3846masa committed Sep 13, 2023
1 parent 0d4182a commit 2e0e1a6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,34 @@ jobs:
with:
name: alpine
path: ./tests/main.pdf
build-debian:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- 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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: debian
path: ./tests/main.pdf
build-debian-arm64:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Build Docker image
uses: ./.github/actions/build/
with:
context: ./debian/
platforms: linux/arm64
# build-debian:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
# - 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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
# with:
# name: debian
# path: ./tests/main.pdf
# build-debian-arm64:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
# - name: Build Docker image
# uses: ./.github/actions/build/
# with:
# context: ./debian/
# platforms: linux/arm64
2 changes: 2 additions & 0 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN apk add --no-cache \
xz \
fontconfig
COPY ./texlive.profile ./
RUN cat /etc/resolv.conf
RUN echo "nameserver 1.1.1.1" >> /etc/resolv.conf
RUN wget -nv https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
RUN tar -xzf ./install-tl-unx.tar.gz --strip-components=1
RUN ./install-tl --profile=texlive.profile
Expand Down

0 comments on commit 2e0e1a6

Please sign in to comment.