ref: 6134a84644a71ba6ad60c35b16c86693a20862bd
parent: b718e3dfacae75958e3f25dd19241e891441e8cb
author: Ralph Giles <[email protected]>
date: Fri May 1 18:28:58 EDT 2020
Add a gitlab-ci job for the unix Makefile. Ensure test coverage for the non-autotools makefile. This is much faster than the autotools build, but doesn't currently support tests or a `dist` target. The syntax of the travis-ci.org build description file makes it tedious to add alternate build types. It's much easier with gitlab, so it's nice to have testing outside of jenkins.
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc
-build:
+autotools:
stage: build
before_script:
- apt-get update &&
@@ -12,5 +12,16 @@
- ./configure
- make
- make distcheck
+ tags:
+ - docker
+
+makefile:
+ stage: build
+ before_script:
+ - apt-get update &&
+ apt-get install -y libopus-dev libogg-dev libssl-dev
+ script:
+ - make -C unix
+ - make -C unix check
tags:
- docker