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.
--- /dev/null
+# 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