summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 540640cac62abdb869727aed6947b759c2601c00 (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
33
34
35
36
37
38
image: debian:testing

before_script:
  - echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
  - apt-get update
  - apt-get build-dep --yes --no-install-recommends libspectre
  - apt-get install --yes --no-install-recommends locales clang
  - echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
  - locale-gen

variables:
  LANG: en_US.UTF-8
  LANGUAGE: en_US:en
  LC_ALL: en_US.UTF-8

build:
  stage: build
  script:
    - ./autogen.sh
    - make

build_clang:
  stage: build
  script:
    - CC=clang ./autogen.sh
    - make

build_gcc_trusty:
  stage: build
  image: ubuntu:trusty
  before_script:
    - apt-get update
    - apt-get install --yes --no-install-recommends build-essential libgs-dev locales automake libtool
    - echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
    - locale-gen
  script:
    - ./autogen.sh
    - make