From 1e61905c7f8d30b884a48fca5d3029083ae077d5 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Tue, 7 Apr 2020 11:27:50 -0700 Subject: Add gitlab ci configuration. Describe a basic autoconf build and test for gitlab's integrated continuous integration runner. Uses the gcc docker image. Copied from the theora version. - `zip` is needed for `make dist` - `doxygen` is needed to generate api documentation. latex is also needed, but a heavy dependency to install every run, so skipped for now. --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..8633f76c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# Image from https://hub.docker.com/_/gcc/ based on Debian +image: gcc + +build: + stage: build + before_script: + - apt-get update && + apt-get install -y libogg-dev zip doxygen + script: + - ./autogen.sh + - ./configure + - make + - make distcheck + cache: + paths: + - "lib/*.o" + - "lib/.libs/*.o" + tags: + - docker -- cgit v1.2.1