-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5349f0
commit 2232a25
Showing
2 changed files
with
334 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
############################################################################### | ||
############## Warning this is a generated file---do not modify ############### | ||
############################################################################### | ||
|
||
name: PR tests (intel 19, ubuntu, mpich) | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- develop | ||
- 1.0.0* | ||
|
||
pr: | ||
branches: | ||
include: | ||
- '*' | ||
|
||
|
||
resources: | ||
- repo: self | ||
|
||
variables: | ||
tag: '$(Build.BuildId)' | ||
REPO: lifflander1/vt | ||
ARCH: amd64 | ||
UBUNTU: 18.04 | ||
COMPILER_TYPE: intel | ||
COMPILER: icc-19 | ||
BUILD_TYPE: release | ||
ULIMIT_CORE: 0 | ||
CODE_COVERAGE: 0 | ||
VT_LB: 1 | ||
VT_TRACE: 1 | ||
VT_TRACE_RT: 0 | ||
VT_MIMALLOC: 0 | ||
VT_DOCS: 0 | ||
VT_ASAN: 0 | ||
VT_POOL: 0 | ||
VT_EXTENDED_TESTS: 0 | ||
VT_UNITY_BUILD: 1 | ||
VT_ZOLTAN: 0 | ||
VT_CI_BUILD: 1 | ||
VT_DIAGNOSTICS: 1 | ||
CACHE: "$(Agent.TempDirectory)/cache/" | ||
cache_name: ubuntu-intel-19-cache | ||
build_root: "$(CACHE)/$(ARCH)-ubuntu-$(UBUNTU)-$(COMPILER)-cache/" | ||
TS: 0 | ||
TS_YEAR: 0 | ||
TS_MONTH: 0 | ||
TS_DAY: 0 | ||
|
||
stages: | ||
- stage: Build | ||
displayName: Build image | ||
jobs: | ||
- job: Build | ||
displayName: Build | ||
pool: | ||
vmImage: 'ubuntu-18.04' | ||
timeoutInMinutes: 180 | ||
steps: | ||
- task: Bash@3 | ||
displayName: Job setup | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
echo setup | ||
- task: Bash@3 | ||
displayName: Build timestep for caching | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
echo 'string(TIMESTAMP current_date "%H;%M;%S" UTC)' > script | ||
echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script | ||
val=$(cmake -P script) | ||
echo "##vso[task.setvariable variable=TS]$val" | ||
echo 'string(TIMESTAMP current_date "%Y" UTC)' > script | ||
echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script | ||
val=$(cmake -P script) | ||
echo "##vso[task.setvariable variable=TS_YEAR]$val" | ||
echo 'string(TIMESTAMP current_date "%m" UTC)' > script | ||
echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script | ||
val=$(cmake -P script) | ||
echo "##vso[task.setvariable variable=TS_MONTH]$val" | ||
echo 'string(TIMESTAMP current_date "%d" UTC)' > script | ||
echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script | ||
val=$(cmake -P script) | ||
echo "##vso[task.setvariable variable=TS_DAY]$val" | ||
- task: Bash@3 | ||
displayName: Output timestamp for caching | ||
inputs: | ||
targetType: 'inline' | ||
script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"' | ||
- task: Cache@2 | ||
displayName: Update cache | ||
inputs: | ||
securityNamespace: cache | ||
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS) | ||
path: '$(build_root)/ccache' | ||
restoreKeys: | | ||
$(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | ||
$(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | ||
$(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | ||
$(Agent.OS) | "$(cache_name)" | ||
- task: DockerCompose@0 | ||
displayName: Pull container | ||
inputs: | ||
containerregistrytype: 'Container Registry' | ||
dockerComposeFile: '**/docker-compose.yml' | ||
action: 'Run a Docker Compose command' | ||
dockerComposeCommand: 'pull --ignore-pull-failures ubuntu-cpp-clean' | ||
- task: DockerCompose@0 | ||
displayName: Build container | ||
inputs: | ||
containerregistrytype: 'Container Registry' | ||
dockerComposeFile: '**/docker-compose.yml' | ||
action: 'Run a Docker Compose command' | ||
dockerComposeCommand: 'run ubuntu-cpp-clean' | ||
- task: DockerCompose@0 | ||
displayName: Push container to registry | ||
inputs: | ||
containerregistrytype: 'Container Registry' | ||
dockerRegistryEndpoint: 'dockerRegistryConnection1' | ||
dockerComposeFile: '**/docker-compose.yml' | ||
action: 'Run a Docker Compose command' | ||
dockerComposeCommand: 'push ubuntu-cpp-clean' | ||
- task: Bash@3 | ||
displayName: Create artifacts | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
zip -j $(Agent.TempDirectory)/LastTest.log.gz $(build_root)/vt/Testing/Temporary/LastTest.log | ||
zip -j $(Agent.TempDirectory)/cmake-output.log.gz $(build_root)/vt/cmake-output.log | ||
- task: PublishPipelineArtifact@1 | ||
displayName: Upload CMake test output artifact | ||
inputs: | ||
targetPath: '$(Agent.TempDirectory)/LastTest.log.gz' | ||
artifact: 'CMakeLastTestLog' | ||
publishLocation: 'pipeline' | ||
- task: PublishPipelineArtifact@1 | ||
displayName: Upload CMake full output artifact | ||
inputs: | ||
targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz' | ||
artifact: 'CMakeOutputLog' | ||
publishLocation: 'pipeline' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
|
||
test_type = "PR tests" | ||
vt_lb = 1 | ||
vt_trace = 0 | ||
vt_trace_rt = 0 | ||
vt_mimalloc = 0 | ||
vt_docs = 0 | ||
vt_asan = 0 | ||
vt_pool = 1 | ||
vt_extended_tests = 1 | ||
vt_unity_build = 1 | ||
vt_zoltan = 0 | ||
vt_ci_build = 1 | ||
ulimit_core = 0 | ||
code_coverage = 0 | ||
build_type = release | ||
repo = lifflander1/vt | ||
arch = amd64 | ||
is_ubuntu = 1 | ||
distro = 18.04 | ||
linux = ubuntu | ||
cache_dir = "~/.local/cache/" | ||
cache_name = "[% linux %]-[% compiler %]-cache" | ||
docker_target = "[% linux %]-cpp-clean" | ||
triggers = "trigger:\\n branches:\\n include:\\n - develop\\n - 1.0.0*" | ||
warning = "###############################################################################\\n############## Warning this is a generated file---do not modify ###############\\n###############################################################################" | ||
job_name = build | ||
workflow_runs_on = "vmImage: 'ubuntu-18.04'" | ||
build_root = $(ARCH)-[% linux %]-$(UBUNTU)-$(COMPILER)-cache | ||
linux_env = " UBUNTU: [% distro %]" | ||
vt_diagnostics = 1 | ||
pr_pattern = "pr:\\n branches:\\n include:\\n - '*'\\n" | ||
job_setup = "echo setup" | ||
|
||
[PR-tests-intel-18-03] | ||
test_configuration = "intel 18.03, ubuntu, mpich" | ||
compiler_type = intel | ||
compiler = icc-18 | ||
cache_name = ubuntu-intel-18-cache | ||
output_name = ci/azure/azure-intel-18-ubuntu-mpich.yml | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
vt_extended_tests = 0 | ||
|
||
[PR-tests-intel-19] | ||
test_configuration = "intel 19, ubuntu, mpich" | ||
compiler_type = intel | ||
compiler = icc-19 | ||
cache_name = ubuntu-intel-19-cache | ||
output_name = ci/azure/azure-intel-19-ubuntu-mpich.yml | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
vt_extended_tests = 0 | ||
|
||
[PR-tests-intel-18-03-extended] | ||
test_type = "PR tests extended" | ||
test_configuration = "intel 18.03, ubuntu, mpich" | ||
compiler_type = intel | ||
compiler = icc-18 | ||
cache_name = ubuntu-intel-18-cache | ||
output_name = ci/azure/azure-intel-18-ubuntu-mpich-extended.yml | ||
pr_pattern = "\\n" | ||
triggers = "\\n" | ||
job_name = build_optional | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
|
||
[PR-tests-nvcc-10-1] | ||
test_configuration = "nvidia cuda 10.1, ubuntu, mpich" | ||
compiler_type = nvidia | ||
compiler = nvcc-10 | ||
cache_name = ubuntu-nvidia-10-cache | ||
output_name = ci/azure/azure-nvidia-10-ubuntu-mpich.yml | ||
vt_extended_tests = 0 | ||
job_name = build_optional | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
vt_diagnostics = 0 | ||
|
||
[PR-tests-nvcc-10-1-extended] | ||
test_type = "PR tests extended" | ||
test_configuration = "nvidia cuda 10.1, ubuntu, mpich" | ||
compiler_type = nvidia | ||
compiler = nvcc-10 | ||
cache_name = ubuntu-nvidia-10-cache | ||
output_name = ci/azure/azure-nvidia-10-ubuntu-mpich-extended.yml | ||
pr_pattern = "\\n" | ||
triggers = "\\n" | ||
job_name = build_optional | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
|
||
[PR-tests-nvcc-11-0] | ||
test_configuration = "nvidia cuda 11.0, ubuntu, mpich" | ||
compiler_type = nvidia | ||
compiler = nvcc-11 | ||
cache_name = ubuntu-nvidia-11-cache | ||
output_name = ci/azure/azure-nvidia-11-ubuntu-mpich.yml | ||
vt_extended_tests = 0 | ||
job_name = build_optional | ||
vt_diagnostics = 0 | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
|
||
[PR-tests-nvcc-11-0-extended] | ||
test_type = "PR tests extended" | ||
test_configuration = "nvidia cuda 11.0, ubuntu, mpich" | ||
compiler_type = nvidia | ||
compiler = nvcc-11 | ||
cache_name = ubuntu-nvidia-11-cache | ||
output_name = ci/azure/azure-nvidia-11-ubuntu-mpich-extended.yml | ||
pr_pattern = "\\n" | ||
triggers = "\\n" | ||
job_name = build_optional | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
|
||
[PR-tests-gcc-5] | ||
test_configuration = "gcc-5, ubuntu, mpich" | ||
compiler_type = gnu | ||
compiler = gcc-5 | ||
output_name = ci/azure/azure-gcc-5-ubuntu-mpich.yml | ||
cache_name = "[% linux %]-[% compiler %]-cache" | ||
|
||
[PR-tests-gcc-6] | ||
test_configuration = "gcc-6, ubuntu, mpich" | ||
compiler_type = gnu | ||
compiler = gcc-6 | ||
output_name = ci/azure/azure-gcc-6-ubuntu-mpich.yml | ||
|
||
[PR-tests-gcc-7] | ||
test_configuration = "gcc-7, ubuntu, mpich, trace runtime, LB" | ||
compiler_type = gnu | ||
compiler = gcc-7 | ||
vt_trace = 1 | ||
vt_trace_rt = 1 | ||
code_coverage = 1 | ||
output_name = ci/azure/azure-gcc-7-ubuntu-mpich.yml | ||
workflow_runs_on = "name: 'vt-agent-pool'" | ||
job_setup = "source /etc/docker-setup.sh" | ||
|
||
[PR-tests-gcc-8] | ||
test_configuration = "gcc-8, ubuntu, mpich, address sanitizer" | ||
compiler_type = gnu | ||
compiler = gcc-8 | ||
vt_trace = 1 | ||
vt_pool = 0 | ||
vt_asan = 1 | ||
output_name = ci/azure/azure-gcc-8-ubuntu-mpich.yml | ||
|
||
[PR-tests-gcc-9] | ||
test_configuration = "gcc-9, ubuntu, mpich, zoltan" | ||
compiler_type = gnu | ||
compiler = gcc-9 | ||
distro = 20.04 | ||
output_name = ci/azure/azure-gcc-9-ubuntu-mpich.yml | ||
vt_zoltan = 1 | ||
|
||
[PR-tests-gcc-10] | ||
test_configuration = "gcc-10, ubuntu, openmpi, no LB" | ||
compiler_type = gnu | ||
compiler = gcc-10 | ||
distro = 20.04 | ||
docker_target = "[% linux %]-cpp-clean-openmpi" | ||
output_name = ci/azure/azure-gcc-10-ubuntu-openmpi.yml | ||
vt_lb = 0 | ||
|
||
[PR-tests-clang-39] | ||
test_configuration = "clang-3.9, ubuntu, mpich" | ||
compiler_type = clang | ||
compiler = clang-3.9 | ||
output_name = ci/azure/azure-clang-3.9-ubuntu-mpich.yml | ||
|
||
[PR-tests-clang-5] | ||
test_configuration = "clang-5.0, ubuntu, mpich" | ||
compiler_type = clang | ||
compiler = clang-5.0 | ||
output_name = ci/azure/azure-clang-5.0-ubuntu-mpich.yml | ||
vt_trace = 1 | ||
|
||
[PR-tests-clang-8] | ||
test_configuration = "clang-8, alpine, mpich" | ||
compiler_type = clang | ||
compiler = clang-8 | ||
is_ubuntu = 0 | ||
linux = alpine | ||
linux_env ="" | ||
output_name = ci/azure/azure-clang-8-alpine-mpich.yml | ||
build_root = $(ARCH)-[% linux %]-$(COMPILER)-cache |