summaryrefslogtreecommitdiffstats
path: root/utilities/gitlab-ci.yml
blob: 60e70a26c454f7657228173804c3ef4b3b216ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
image: archlinux:latest

stages:
  - test
  - build

test_codesamples:
    tags: [ saas-linux-medium-amd64 ]
    stage: test

    before_script:
        - pacman --noconfirm -Syu make gcc liburcu

    script:
        - make -C CodeSamples/
        - make -C CodeSamples/ check

generate_pdfs:
    stage: build

    before_script:
        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz librsvg gnuplot wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
        - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache

    script:
        - make perfbook.pdf perfbook-1c.pdf perfbook-eb.pdf

    artifacts:
      paths:
          - perfbook.pdf
          - perfbook-1c.pdf
          - perfbook-eb.pdf