From 78dea94ec1460a70546a8eab6504acb03f999fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ha=C5=82as?= Date: Wed, 11 Mar 2026 13:38:48 +0100 Subject: [PATCH] Add CI workflow for LaTeX compilation This YAML file sets up a CI workflow for LaTeX compilation using GitHub Actions. --- .github/workflows/CompileCV.yml | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/CompileCV.yml diff --git a/.github/workflows/CompileCV.yml b/.github/workflows/CompileCV.yml new file mode 100644 index 0000000..f63c563 --- /dev/null +++ b/.github/workflows/CompileCV.yml @@ -0,0 +1,42 @@ +# 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