diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f63c563..d5d9e54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,29 +1,27 @@ -# This is a basic workflow to help you get started with Actions +name: Build LaTeX CV -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" ] + branches: [ "master", "github-actions" ] - # 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 + container: texlive/texlive: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: Checkout repo + uses: actions/checkout@v4 + + - name: Install fonts + run: | + apt update + apt install --yes \ + fonts-roboto \ + fonts-adobe-sourcesans3 \ + ; - name: LaTeX compilation # You may pin to the exact commit or the version. diff --git a/MAKEFILE b/MAKEFILE deleted file mode 100644 index a7f5960..0000000 --- a/MAKEFILE +++ /dev/null @@ -1,13 +0,0 @@ -.PHONY: cv - -CC = lualatex -CV_DIR = ./ -CV_SRCS = $(shell find $(CV_DIR) -name '*.tex') - -cv: $(foreach x, cv, $x.pdf) - -cv.pdf: ./cv.tex $(CV_SRCS) - $(CC) -output-directory=$(CV_DIR) $< - -clean: - rm -rf $(CV_DIR)/*.pdf \ No newline at end of file