您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829
  1. language: generic
  2. dist: xenial
  3. services:
  4. - docker
  5. env:
  6. global:
  7. - DOCKER_IMG="registry.gitlab.com/offa/docker-images"
  8. matrix:
  9. include:
  10. - env: COMPILER=gcc-9
  11. - env: COMPILER=gcc-8
  12. - env: COMPILER=gcc-7
  13. - env: COMPILER=clang-8
  14. - env: COMPILER=clang-7
  15. - env: COMPILER=clang-6
  16. - env: COMPILER=clang-5
  17. before_install:
  18. - docker pull ${DOCKER_IMG}/${COMPILER}:stable
  19. script:
  20. - docker run --cap-add SYS_PTRACE -v ${PWD}:/mnt -it ${DOCKER_IMG}/${COMPILER} /bin/bash -c "cd /mnt; script/ci_build.sh"