summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2020-04-07 11:27:50 -0700
committerRalph Giles <giles@thaumas.net>2020-04-15 09:46:07 -0700
commit1e61905c7f8d30b884a48fca5d3029083ae077d5 (patch)
tree00854f474c0cfc0f93c23cd3a5e161ce6697a1fe
parent0a4beb1d04f802c48016b11fb939690e24173168 (diff)
downloadlibvorbis-git-1e61905c7f8d30b884a48fca5d3029083ae077d5.tar.gz
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.
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
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