From 2f852101483cefd8db46d127b73734988d8bb224 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Fri, 2 Oct 2020 01:00:37 -0400 Subject: CI: add basic gitlab-ci This is largely based off of speex's. --- .gitlab-ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3e85869 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,39 @@ +default: + tags: + - docker + # Image from https://hub.docker.com/_/gcc/ based on Debian + image: gcc:9 + +.autoconf: + stage: build + before_script: + - apt-get update && + apt-get install -y libfftw3-dev + script: + - ./autogen.sh + - ./configure ${CONFIG_FLAGS} + - make + - make check + +autoconf: + extends: .autoconf + script: + - ./autogen.sh + - ./configure ${CONFIG_FLAGS} + - make + - make distcheck + +fixed-point: + extends: .autoconf + variables: + CONFIG_FLAGS: --enable-fixed-point + +no-float: + extends: .autoconf + variables: + CONFIG_FLAGS: --enable-fixed-point --disable-float-api + +no-examples: + extends: .autoconf + variables: + CONFIG_FLAGS: --disable-examples -- cgit v1.2.3