Skip to content
Snippets Groups Projects
Commit eb387908 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

Merge branch 'lintao/ci/fix-multiple-runners' into 'master'

Fix the issues when the build and test are in different nodes.

See merge request cepc/CEPCSW!113
parents db7a4d36 fb43c603
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ workflow: ...@@ -26,7 +26,6 @@ workflow:
stages: stages:
- build - build
- test
############################################################################## ##############################################################################
# Template for Build and Test # Template for Build and Test
...@@ -46,15 +45,10 @@ stages: ...@@ -46,15 +45,10 @@ stages:
stage: build stage: build
script: script:
- bash ./.build.ci.sh - bash ./.build.ci.sh
.test_template:
extends: .envvar_template
stage: test
script:
- bash ./.test.ci.sh - bash ./.test.ci.sh
############################################################################## ##############################################################################
# Build CentOS 7 (LCG) # Build & Test in CentOS 7 (LCG)
############################################################################## ##############################################################################
build:lcg:el7: build:lcg:el7:
extends: .build_template extends: .build_template
...@@ -63,23 +57,10 @@ build:lcg:el7: ...@@ -63,23 +57,10 @@ build:lcg:el7:
artifacts: artifacts:
paths: paths:
- InstallArea - InstallArea
- build.${CEPCSW_LCG_VERSION}.${CEPCSW_LCG_PLATFORM}
##############################################################################
# Test CentOS 7 (LCG)
##############################################################################
test:lcg:el7:
extends: .test_template
tags:
- centos7
artifacts:
paths:
- TDR_o1_v01.tgeo.root - TDR_o1_v01.tgeo.root
- TDR_o1_v02.tgeo.root - TDR_o1_v02.tgeo.root
reports: reports:
junit: build.${CEPCSW_LCG_VERSION}.${CEPCSW_LCG_PLATFORM}/cepcsw-ctest-result.xml junit: build.${CEPCSW_LCG_VERSION}.${CEPCSW_LCG_PLATFORM}/cepcsw-ctest-result.xml
dependencies:
- build:lcg:el7
############################################################################## ##############################################################################
# Build the docs # Build the docs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment