blob: 8fd114391c19c50c0bd0ca5f820be54ab24dbea7 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
default:
tags:
- docker
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc
autoconf:
stage: build
before_script:
- apt-get update &&
apt-get install -y zip doxygen
script:
- ./autogen.sh
- ./configure
- make
- make distcheck
cmake:
stage: build
before_script:
- apt-get update &&
apt-get install -y cmake ninja-build
script:
- mkdir build
- cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_TESTING=ON -DOPUS_BUILD_PROGRAMS=ON
- cmake --build build
- cd build && ctest --output-on-failure
.unix:
stage: build
script:
- make -f Makefile.unix ${FLAGS}
- make -f Makefile.unix ${FLAGS} check
- make -f Makefile.unix ${FLAGS} clean
unix.float:
extends: .unix
unix.float.lrintf:
extends: .unix
variables:
CFLAGS: -DHAVE_LRINTF
unix.float.vararrays:
extends: .unix
variables:
CFLAGS: -DVAR_ARRAYS
unix.fixed:
extends: .unix
variables:
FLAGS: FIXED_POINT=1
unix.fixed.vararrays:
extends: .unix
variables:
FLAGS: FIXED_POINT=1
CFLAGS: -DVAR_ARRAYS
|