.gitlab-ci.yml 646 Bytes
Newer Older
Dirk Brömmel's avatar
Dirk Brömmel committed
1
2
3
4
5
6
7
8
9
10
11
12
13
stages:
  - build

build-example:
  stage: build
  tags:
    - docker
  image: blang/latex:ubuntu
  script:
    - cd example
    - ln -s ../prace.cls .
    - ln -s ../prace-logo.pdf .
    - latexmk -pdf example.tex
Dirk Brömmel's avatar
Dirk Brömmel committed
14
15
16
    - cd ..
    - tar cvJf PRACE-Whitepaper.tar.xz README.md prace.cls template.tex prace-logo.pdf example/example.tex example/example.pdf || echo 'tar w/ xz failed'
    - tar cvzf PRACE-Whitepaper.tar.gz README.md prace.cls template.tex prace-logo.pdf example/example.tex example/example.pdf || echo 'tar w/ gzip failed'
Dirk Brömmel's avatar
Dirk Brömmel committed
17
18
19
  artifacts:
    when: on_success
    paths:
Dirk Brömmel's avatar
Dirk Brömmel committed
20
      - PRACE-Whitepaper.tar.xz
Dirk Brömmel's avatar
Dirk Brömmel committed
21
      - PRACE-Whitepaper.tar.gz