.gitlab-ci.yml 1.21 KB
Newer Older
Alberto Gonzalez's avatar
Alberto Gonzalez committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
stages:
   - build

.build_template:
   stage: build
   script:
      - make realclean
      - make all
   only:
      refs:
         - master
         - merge_requests
      variables:
         - $CI_PROJECT_URL == 'https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM'
         - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'master'

.build_template_linux:
   extends: .build_template
   script:
      - make realclean
      - make all
      - make realclean
      - make release high-bitdepth=true
      - make realclean
      - make linuxbuild enable-tracing=true

build_macos:
   extends: .build_template
   tags:
      - macos

build_ubuntu2004:
   extends: .build_template_linux
   tags:
      - ubuntu2004

build_ubuntu2204:
   extends: .build_template_linux
   tags:
      - ubuntu2204

build_ubuntu2204-gcc12:
   extends: .build_template
   script:
      - make realclean
      - make all toolset=gcc-12
      - make realclean
      - make release high-bitdepth=true toolset=gcc-12
      - make realclean
      - make linuxbuild enable-tracing=true toolset=gcc-12
   tags:
      - ubuntu2204-gcc12

build_vc191x:
   extends: .build_template
   tags:
      - vc191x

build_vc192x:
   extends: .build_template
   tags:
      - vc192x