Commit 5f8ac525 authored by Arnaud Le Meillour's avatar Arnaud Le Meillour
Browse files

Update CI/CD file

parent 63692843
......@@ -43,190 +43,7 @@ stages:
- cmake install
# include:
# - project: 'accelerators/cicd/templates_cicd/template-rev1'
# ref: main
# file: '/build_project.yml'
.common-debug:
before_script:
- export BUILD_TYPE=Debug
- export BUILD_DIR=${ESRF_REPO}/debug
.common-release:
before_script:
- export BUILD_TYPE=RelWithDebInfo
- export BUILD_DIR=${ESRF_REPO}/release
.common-debian9:
tags:
- shell, debian9
# DEBUG ################
debian9:debug:build:
extends:
- .common-debian9
- .common-debug
- .common-build
debian9:debug:test:
extends:
- .common-debian9
- .common-debug
- .common-test
needs:
- debian9:debug:build
debian9:debug:deploy:
extends:
- .common-debian9
- .common-debug
- .common-deploy
needs:
- debian9:debug:build
# RELEASE ################
debian9:release:build:
extends:
- .common-debian9
- .common-release
- .common-build
debian9:release:test:
extends:
- .common-debian9
- .common-release
- .common-test
needs:
- debian9:release:build
debian9:release:deploy:
extends:
- .common-debian9
- .common-release
- .common-deploy
needs:
- debian9:release:build
.common-ubuntu20:
tags:
- shell, ubuntu20
# DEBUG ################
ubuntu20:debug:build:
extends:
- .common-ubuntu20
- .common-debug
- .common-build
ubuntu20:debug:test:
extends:
- .common-ubuntu20
- .common-debug
- .common-test
needs:
- ubuntu20:debug:build
ubuntu20:debug:deploy:
extends:
- .common-ubuntu20
- .common-debug
- .common-deploy
needs:
- ubuntu20:debug:build
# RELEASE ################
ubuntu20:release:build:
extends:
- .common-ubuntu20
- .common-release
- .common-build
ubuntu20:release:test:
extends:
- .common-ubuntu20
- .common-release
- .common-test
needs:
- ubuntu20:release:build
ubuntu20:release:deploy:
extends:
- .common-ubuntu20
- .common-release
- .common-deploy
needs:
- ubuntu20:release:build
# JOB DEBIAN 9 ################################################
debian9:build:debug:
stage: build
tags:
- shell, debian9
before_script:
- export BUILD_TYPE=Debug
<<: *build
debian9:build:release:
stage: build
tags:
- shell, debian9
before_script:
- export BUILD_TYPE=Release
<<: *build
# JOB UBUNTU 20.04 ################################################
ubuntu20.04:build:debug:
stage: build
tags:
- shell, ubuntu20
before_script:
- export BUILD_TYPE=Debug
<<: *build
ubuntu20.04:build:release:
stage: build
tags:
- shell, ubuntu20
before_script:
- export BUILD_TYPE=Release
<<: *build
##############################################
# trigger:downstream:
# stage: trig
# only:
# - master
# when: manual
# inherit:
# variables: false
# trigger:
# project: accelerators/tosort/modbus
# branch: master
\ No newline at end of file
include:
- project: 'accelerators/cicd/templates_cicd/template-rev1'
ref: main
file: '/build_project.yml'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment