Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 1.83 KiB
stages:
- build
- test
- debug
- benchmark
- publish
include:
- project: 'mpp/mpp'
ref: feature
file: 'pipeline/.mpp-ci-templates.yml'
- local: 'pipeline/.cardmech-benchmark-on-horeka.yml'
variables:
extends: .global-variables
build-cardmech:
extends: .build_template
variables:
CMAKE_ARGS: '-DMPP_BUILD_TYPE=MppDebugFast -DBUILD_CARDIAC_TESTS=ON -DBUILD_TUTORIAL=OFF -DBUILD_TUTORIAL_TESTS=OFF'
test cardmech 1/2:
extends: .test_template
dependencies:
- build-cardmech
script:
- ./test/cellmodels/TestElphyModels
- ./test/elasticity/TestMaterial
- ./test/elasticity/TestTimeStepping
- ./test/elasticity/TestAssembleConsistency
- ./test/elasticity/TestLinearBeamProblem
- ./test/elasticity/TestQuadraticBeamProblem
test cardmech 2/2:
extends: .test_template
dependencies:
- build-cardmech
script:
- python3 mppyrun.py --mpi_tests=1 --mute=0
#debug cardmech:
# stage: debug
# when: on_failure
# variables:
# GIT_STRATEGY: none
# image: ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
# script:
# - cd /mpp/build
# - ctest
# dependencies: [ "build cardmech" ]
# tags: [ docker ]
#publish:
# stage: publish
# image: docker:latest
# variables:
# GIT_STRATEGY: none
# before_script:
# - docker login -u $MPP_REGISTRY_USER -p $MPP_REGISTRY_PASS ${MPP_REGISTRY}
# script:
# - docker pull ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
# - docker tag ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
# ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_RELEASE}/cardmech-${OS}${OS_VERSION}:${CI_COMMIT_TAG}
# - docker push ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_RELEASE}/cardmech-${OS}${OS_VERSION}:${CI_COMMIT_TAG}