Commit 38d2fa03 authored by Marco Govoni's avatar Marco Govoni
Browse files

Merge branch 'ci_improvement' into 'develop'

Ci improvement

See merge request west-devel/West!13
parents 5189de32 2fb78d59
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
stages: stages:
- build - build
- test - test
- doc - doc
.template_bot_start:
tags: [rcc,docker,node-01]
image: miccomcenter/bot:$CI_JOB_NAME
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
.template_build:
stage: build
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
.template_test:
stage: test
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- make > /dev/null
- useradd -m qe
- cp -r test-suite /home/qe
- su - qe
- cd test-suite
- make NP=14 NI=1 NT=1
gcc650_0001: gcc650_0001:
tags: [rcc,docker,node-01] extends:
stage: build - .template_bot_start
image: miccomcenter/bot:$CI_JOB_NAME - .template_build
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
gcc650_0002: gcc650_0002:
tags: [rcc,docker,node-01] extends:
stage: build - .template_bot_start
image: miccomcenter/bot:$CI_JOB_NAME - .template_build
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
gcc740_0001: gcc740_0001:
tags: [rcc,docker,node-01] extends:
stage: build - .template_bot_start
image: miccomcenter/bot:$CI_JOB_NAME - .template_build
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
gcc740_0002: gcc740_0002:
tags: [rcc,docker,node-01] extends:
stage: build - .template_bot_start
image: miccomcenter/bot:$CI_JOB_NAME - .template_build
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
gcc830_0001: gcc830_0001:
tags: [rcc,docker,node-01] extends:
stage: build - .template_bot_start
image: miccomcenter/bot:$CI_JOB_NAME - .template_build
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
gcc830_0002: gcc830_0002:
tags: [rcc,docker,node-01] extends:
stage: build - .template_bot_start
image: miccomcenter/bot:$CI_JOB_NAME - .template_build
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi gcc830_0001_t:
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi extends:
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi - .template_bot_start
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi - .template_test
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi image: miccomcenter/bot:gcc830_0001
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi gcc830_0002_t:
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi extends:
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi - .template_bot_start
script: - .template_test
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR image: miccomcenter/bot:gcc830_0002
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- git describe
- make
- ls ../bin
#west_build_gcc: #west_build_gcc:
# tags: [rcc,docker,node-01] # tags: [rcc,docker,node-01]
...@@ -344,66 +266,28 @@ gcc830_0002: ...@@ -344,66 +266,28 @@ gcc830_0002:
# - cd test-suite # - cd test-suite
# - make NP=14 NI=1 NT=1 # - make NP=14 NI=1 NT=1
gcc830_0001: #gcc830_0001:
tags: [rcc,docker,node-01] # extends: .template_bot
stage: test # script:
image: miccomcenter/bot:$CI_JOB_NAME # - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
before_script: # - cd QEDIR
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi # - git describe
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi # - ./configure
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi # - make -j pw
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi # - ls bin
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi # - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi # - cd West
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi # - make > /dev/null
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi # - useradd -m qe
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi # - cp -r test-suite /home/qe
script: # - su - qe
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR # - cd test-suite
- cd QEDIR # - make NP=14 NI=1 NT=1
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- make > /dev/null
- useradd -m qe
- cp -r test-suite /home/qe
- su - qe
- cd test-suite
- make NP=14 NI=1 NT=1
gcc830_0002: #gcc830_0002:
tags: [rcc,docker,node-01] # extends: .template_bot
stage: test
image: miccomcenter/bot:$CI_JOB_NAME
before_script:
- if [ -z $GCC_VERSION ]; then echo "not set"; else echo $GCC_VERSION; fi
- if [ -z $LAPACK_VERSION ]; then echo "not set"; else echo $LAPACK_VERSION; fi
- if [ -z $XERCES_VERSION ]; then echo "not set"; else echo $XERCES_VERSION; fi
- if [ -z $OPENMPI_VERSION ]; then echo "not set"; else echo $OPENMPI_VERSION; fi
- if [ -z $MPICH_VERSION ]; then echo "not set"; else echo $MPICH_VERSION; fi
- if [ -z $SCALAPACK_VERSION ]; then echo "not set"; else echo $SCALAPACK_VERSION; fi
- if [ -z $FFTW_VERSION ]; then echo "not set"; else echo $FFTW_VERSION; fi
- if [ -z PYTHON_VERSION ]; then echo "not set"; else echo $PYTHON_VERSION; fi
- if [ -z PYTHON_PIP_VERSION ]; then echo "not set"; else echo $PYTHON_PIP_VERSION; fi
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- git describe
- ./configure
- make -j pw
- ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- make > /dev/null
- useradd -m qe
- cp -r test-suite /home/qe
- su - qe
- cd test-suite
- make NP=14 NI=1 NT=1
west_doc_build: west_doc_build:
tags: [rcc,docker,node-01] tags: [rcc,docker,node-01]
......
Markdown is supported
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