Skip to content
Snippets Groups Projects
Verified Commit c5a83d0a authored by Ralph Giles's avatar Ralph Giles
Browse files

Add a gitlab ci configuration.

Add a build description for gitlab's continuous integration build
and test runners. This gives us ongoing converage on commmits
and merge requests in the upstream repository.

Based on the gcc:9 image we currently use for most projects.
It already includes make and autotools, but we need to install
dependencies for the example programs and documentation.

  - debian buster has fig2dev in its own package.
  - latex-extras is needed for wrapfig, which has been superceeded
    by lwarp-wrapfig.

NB defining a separate job at the test stage clears all the
generated artefacts, which means we lose our configure script
and makefiles. Therefore isn't more efficient to just do the
tests as extra steps in the build stage.
parent 1790452a
No related branches found
No related tags found
1 merge request!6Add gitlab ci jobs
default:
tags:
- docker
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc:9
build:
stage: build
before_script:
- apt-get update &&
apt-get install -y libogg-dev libvorbis-dev
libsdl-dev libpng-dev libtiff-dev
doxygen fig2dev texlive texlive-latex-extra
script:
- ./autogen.sh
- ./configure
- make
- make distcheck
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment