blob: 2b44ff1497f125f49774e5e7f7cfcb67ab11337c (
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
39
40
41
|
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_ubuntu_21_04:
stage: build
image: ubuntu:21.04
before_script:
- sed -i -e 's/archive/old-releases/g' /etc/apt/sources.list
- sed -i -e 's/security.ubuntu/old-releases.ubuntu/g' /etc/apt/sources.list
- echo "91.189.91.124 old-releases.ubuntu.com" >> /etc/hosts
- apt-get update
- apt-get install --yes --no-install-recommends build-essential libgs-dev locales automake libtool pkg-config
- echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
- locale-gen
script:
- ./autogen.sh
- make
|