language: minimal dist: bionic services: - docker env: global: - DOCKER_IMG="registry.gitlab.com/offa/docker-images" jobs: include: - env: COMPILER=gcc-10 - env: COMPILER=gcc-9 - env: COMPILER=gcc-8 - env: COMPILER=gcc-7 - env: COMPILER=clang-10 - env: COMPILER=clang-9 - env: COMPILER=clang-8 - env: COMPILER=clang-7 - env: COMPILER=clang-6 - env: COMPILER=clang-5 before_install: - docker pull ${DOCKER_IMG}/${COMPILER}:stable script: - docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${COMPILER} /bin/bash -c "cd /mnt; script/ci_build.sh"