1
1
openmpi/.ci/mellanox/azure-pipelines.yml

49 строки
1.4 KiB
YAML
Исходник Обычный вид История

trigger:
- master
- v*.*.x
pr:
- master
- v*.*.x
pool:
name: Default
demands:
- AGENT_CI_TARGET -equals ompi
- MLNX_IB_DEVICE -equals yes
variables:
ompi_jenkins_scripts_git_repo_url: https://github.com/mellanox-hpc/jenkins_scripts.git
ompi_jenkins_scripts_git_branch: master
# Enable debug information, supported values: true, false
debug: true
jobs:
- job: mellanox_ompi_ci
displayName: Mellanox Open MPI CI
timeoutInMinutes: 240
container:
image: rdmz-harbor.rdmz.labs.mlnx/hpcx/ompi_ci:latest
options: -v /hpc/local:/hpc/local -v /opt:/opt --uts=host --ipc=host --ulimit stack=67108864
--ulimit memlock=-1 --security-opt seccomp=unconfined --cap-add=SYS_ADMIN --device=/dev/infiniband/
steps:
- task: DeleteFiles@1
displayName: Cleanup workspace folder
inputs:
sourceFolder: $(Pipeline.Workspace)
contents: |
**/*
- checkout: self
submodules: true
path: ompi
- bash: |
set -eE
[ "$(debug)" = "true" ] && set -x
cd $(Pipeline.Workspace)
git clone $(ompi_jenkins_scripts_git_repo_url)
cd $(Pipeline.Workspace)/jenkins_scripts && git checkout $(ompi_jenkins_scripts_git_branch)
export WORKSPACE=$(Pipeline.Workspace)/ompi
# TODO: rework ompi_test.sh to avoid Jenkins mentions
export JENKINS_RUN_TESTS=yes
$(Pipeline.Workspace)/jenkins_scripts/jenkins/ompi/ompi_test.sh
displayName: Build and test Open MPI