From 0e7b1200cd6de59243076e09194cbc55a2bb304c Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Fri, 13 Sep 2024 13:15:01 +0300 Subject: [PATCH] Add Ubuntu CI build and artifacts push --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2309610 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build + +on: [push, pull_request] + +jobs: + ubuntu-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup environment + run: | + sudo add-apt-repository ppa:ubuntu-toolchain-r/test + sudo apt-get update + sudo apt-get install ninja-build + sudo apt-get install texlive* + - name: Build + run: | + find . -iname '*.tex' -exec pdflatex {} \; + - uses: actions/upload-artifact@v4 + with: + name: pdf-linux + path: '*.pdf'