Skip to content

Merge pull request #19 from st3iny/patch-1 #65

Merge pull request #19 from st3iny/patch-1

Merge pull request #19 from st3iny/patch-1 #65

Workflow file for this run

name: "Build"
on:
pull_request:
push:
jobs:
# uses nix
nix_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v17
- run: nix-build
# -s: test if this is a file and if it has a size.
- run: test -s result/diplom.pdf
# uses latexmk
regular_build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
# options listed here:
# https://github.com/xu-cheng/latex-action
root_file: diplom.tex
latexmk_use_lualatex: true
# required when using the "minted" package for beautiful styled code
# latexmk_shell_escape: true
# checkbiw and check-french-spacing must execute without error
check_scripts:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
# additionally: check out submodules
with:
submodules: recursive
- name: install make
run: sudo apt update && sudo apt install make
- name: make check-french-spacing
run: make check-french-spacing
- name: install diction
run: sudo apt update && sudo apt install diction
- name: make checkbiw
run: make checkbiw