Skip to content

Commit 2f85210

Browse files
committed
CI: add basic gitlab-ci
This is largely based off of speex's.
1 parent 64cbfa9 commit 2f85210

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.gitlab-ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
default:
2+
tags:
3+
- docker
4+
# Image from https://hub.docker.com/_/gcc/ based on Debian
5+
image: gcc:9
6+
7+
.autoconf:
8+
stage: build
9+
before_script:
10+
- apt-get update &&
11+
apt-get install -y libfftw3-dev
12+
script:
13+
- ./autogen.sh
14+
- ./configure ${CONFIG_FLAGS}
15+
- make
16+
- make check
17+
18+
autoconf:
19+
extends: .autoconf
20+
script:
21+
- ./autogen.sh
22+
- ./configure ${CONFIG_FLAGS}
23+
- make
24+
- make distcheck
25+
26+
fixed-point:
27+
extends: .autoconf
28+
variables:
29+
CONFIG_FLAGS: --enable-fixed-point
30+
31+
no-float:
32+
extends: .autoconf
33+
variables:
34+
CONFIG_FLAGS: --enable-fixed-point --disable-float-api
35+
36+
no-examples:
37+
extends: .autoconf
38+
variables:
39+
CONFIG_FLAGS: --disable-examples

0 commit comments

Comments
 (0)