You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
763B

  1. language: minimal
  2. dist: bionic
  3. services:
  4. - docker
  5. env:
  6. global:
  7. - DOCKER_IMG="registry.gitlab.com/offa/docker-images"
  8. jobs:
  9. include:
  10. - env: COMPILER=gcc-10
  11. - env: COMPILER=gcc-9
  12. - env: COMPILER=gcc-8
  13. - env: COMPILER=gcc-7
  14. - env: COMPILER=clang-10
  15. - env: COMPILER=clang-9
  16. - env: COMPILER=clang-8
  17. - env: COMPILER=clang-7
  18. - env: COMPILER=clang-6
  19. - env: COMPILER=clang-5
  20. - env: CONAN_GCC_VERSIONS=9
  21. before_install:
  22. - if [[ -v COMPILER ]]; then docker pull ${DOCKER_IMG}/${COMPILER}:stable; fi
  23. script:
  24. - if [[ -v COMPILER ]]; then docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${COMPILER} /bin/bash -c "cd /mnt; script/ci_build.sh"; fi
  25. - if [[ -v CONAN_GCC_VERSIONS ]]; then script/conan_build.sh; fi