Awesome-CV/.github/workflows/CompileCV.yml
Maciej Hałas 78dea94ec1
Add CI workflow for LaTeX compilation
This YAML file sets up a CI workflow for LaTeX compilation using GitHub Actions.
2026-03-11 13:38:48 +01:00

42 lines
1.5 KiB
YAML

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: LaTeX compilation
# You may pin to the exact commit or the version.
# uses: dante-ev/latex-action@49cf7cb5f79e7b2006dbdffea85e02bec0b6244b
uses: dante-ev/latex-action@2021-A
with:
# The root LaTeX file to be compiled
root_file: ./cv.tex
# The working directory for the latex compiler to be invoked
working_directory: # optional
# LaTeX engine to be used
compiler: lualatex
# Extra arguments to be passed to the latex compiler
args: # optional, default is -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
# Install extra packages by apt-get
extra_system_packages: # optional