-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1708 from chuckatkins/enable-azure-pipelines
Initial integration of azure pipelines
Showing
79 changed files
with
954 additions
and
1,564 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
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
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,59 @@ | ||
trigger: | ||
- master | ||
- release | ||
|
||
pr: | ||
autoCancel: true | ||
branches: | ||
include: | ||
- master | ||
- release | ||
paths: | ||
exclude: | ||
- docs/* | ||
|
||
resources: | ||
containers: | ||
- container: el7 | ||
image: ornladios/adios2:el7 | ||
- container: el7-gnu8-ohpc | ||
image: ornladios/adios2:el7-gnu8-ohpc | ||
- container: el7-gnu8-openmpi-ohpc | ||
image: ornladios/adios2:el7-gnu8-openmpi-ohpc | ||
- container: el7-intel18-ohpc | ||
image: ornladios/adios2:el7-intel18-ohpc | ||
- container: el7-intel18-openmpi-ohpc | ||
image: ornladios/adios2:el7-intel18-openmpi-ohpc | ||
- container: suse-pgi | ||
image: ornladios/adios2:suse-pgi | ||
- container: suse-pgi-openmpi | ||
image: ornladios/adios2:suse-pgi-openmpi | ||
|
||
strategy: | ||
matrix: | ||
el7: | ||
containerResource: el7 | ||
el7-gnu8-ohpc: | ||
containerResource: el7-gnu8-ohpc | ||
el7-gnu8-openmpi-ohpc: | ||
containerResource: el7-gnu8-openmpi-ohpc | ||
el7-intel18-ohpc: | ||
containerResource: el7-intel18-ohpc | ||
el7-intel18-openmpi-ohpc: | ||
containerResource: el7-intel18-openmpi-ohpc | ||
suse-pgi: | ||
containerResource: suse-pgi | ||
suse-pgi-openmpi: | ||
containerResource: suse-pgi-openmpi | ||
|
||
container: $[ variables['containerResource'] ] | ||
|
||
steps: | ||
- bash: scripts/ci/runOnAzure.sh update | ||
name: Update | ||
- bash: scripts/ci/runOnAzure.sh configure | ||
name: Configure | ||
- bash: scripts/ci/runOnAzure.sh build | ||
name: Build | ||
- bash: scripts/ci/runOnAzure.sh test | ||
name: Test |
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
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
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,52 @@ | ||
if(NOT CTEST_BUILD_CONFIGURATION) | ||
set(CTEST_BUILD_CONFIGURATION Debug) | ||
endif() | ||
|
||
if(NOT DEFINED NCPUS) | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
endif() | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
if(NOT CTEST_BUILD_FLAGS) | ||
if(CTEST_CMAKE_GENERATOR STREQUAL "Unix Makefiles") | ||
set(CTEST_BUILD_FLAGS "-k -j${N2CPUS}") | ||
elseif(CTEST_CMAKE_GENERATOR STREQUAL "Ninja") | ||
set(CTEST_BUILD_FLAGS "-k0 -j${N2CPUs}") | ||
endif() | ||
endif() | ||
if(NOT CTEST_TEST_ARGS) | ||
set(CTEST_TEST_ARGS PARALLEL_LEVEL ${N2CPUS}) | ||
endif() | ||
|
||
if(NOT dashboard_model) | ||
set(dashboard_model Experimental) | ||
endif() | ||
if(NOT dashboard_binary_name) | ||
set(dashboard_binary_name "build") | ||
endif() | ||
if(NOT dashboard_track) | ||
set(dashboard_track "Continuous Integration") | ||
endif() | ||
set(CTEST_GIT_COMMAND "/usr/bin/git") | ||
if(NOT "$ENV{CI_COMMIT}" STREQUAL "") | ||
set(dashboard_git_branch "$ENV{CI_COMMIT}") | ||
set(CTEST_UPDATE_VERSION_ONLY ON) | ||
endif() | ||
if(NOT "$ENV{CI_SITE_NAME}" STREQUAL "") | ||
set(CTEST_SITE "$ENV{CI_SITE_NAME}") | ||
endif() | ||
if(NOT "$ENV{CI_BUILD_NAME}" STREQUAL "") | ||
set(CTEST_BUILD_NAME "$ENV{CI_BUILD_NAME}") | ||
endif() | ||
if(NOT "$ENV{CI_ROOT_DIR}" STREQUAL "") | ||
set(CTEST_DASHBOARD_ROOT "$ENV{CI_ROOT_DIR}") | ||
endif() | ||
if(NOT "$ENV{CI_SOURCE_DIR}" STREQUAL "") | ||
set(CTEST_SOURCE_DIRECTORY "$ENV{CI_SOURCE_DIR}") | ||
endif() | ||
if(NOT "$ENV{CI_BIN_DIR}" STREQUAL "") | ||
set(CTEST_BINARY_DIRECTORY "$ENV{CI_BIN_DIR}") | ||
endif() | ||
|
||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/../../dashboard/adios_common.cmake) |
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,34 @@ | ||
# Client maintainer: chuck.atkins@kitware.com | ||
|
||
find_package(EnvModules REQUIRED) | ||
|
||
env_module(purge) | ||
env_module(load gnu8) | ||
env_module(load py3-numpy) | ||
env_module(load hdf5) | ||
|
||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
set(ENV{CFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch") | ||
set(ENV{CXXFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch") | ||
set(ENV{FFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch") | ||
|
||
set(ENV{CMAKE_PREFIX_PATH} "/opt/libfabric/1.6.0:$ENV{CMAKE_PREFIX_PATH}") | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.4 | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
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,40 @@ | ||
# Client maintainer: chuck.atkins@kitware.com | ||
|
||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
find_package(EnvModules REQUIRED) | ||
|
||
env_module(purge) | ||
env_module(load gnu8) | ||
env_module(load py3-numpy) | ||
env_module(load openmpi3) | ||
env_module(load py3-mpi4py) | ||
|
||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
set(ENV{CFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch") | ||
set(ENV{CXXFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch") | ||
set(ENV{FFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch") | ||
|
||
set(ENV{CMAKE_PREFIX_PATH} "/opt/libfabric/1.6.0:/opt/hdf5/1.10.4:$ENV{CMAKE_PREFIX_PATH}") | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.4 | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
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,34 @@ | ||
# Client maintainer: chuck.atkins@kitware.com | ||
|
||
find_package(EnvModules REQUIRED) | ||
|
||
env_module(purge) | ||
env_module(load intel) | ||
env_module(load py2-numpy) | ||
env_module(load hdf5) | ||
|
||
set(ENV{CC} icc) | ||
set(ENV{CXX} icpc) | ||
set(ENV{FC} ifort) | ||
set(ENV{CFLAGS} -Werror) | ||
set(ENV{CXXFLAGS} -Werror) | ||
set(ENV{FFLAGS} "-warn errors") | ||
|
||
set(ENV{CMAKE_PREFIX_PATH} "/opt/libfabric/1.6.0:$ENV{CMAKE_PREFIX_PATH}") | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
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,40 @@ | ||
# Client maintainer: chuck.atkins@kitware.com | ||
|
||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
find_package(EnvModules REQUIRED) | ||
|
||
env_module(purge) | ||
env_module(load intel) | ||
env_module(load py2-numpy) | ||
env_module(load openmpi3) | ||
env_module(load py2-mpi4py) | ||
|
||
set(ENV{CC} icc) | ||
set(ENV{CXX} icpc) | ||
set(ENV{FC} ifort) | ||
set(ENV{CFLAGS} -Werror) | ||
set(ENV{CXXFLAGS} -Werror) | ||
set(ENV{FFLAGS} "-warn errors") | ||
|
||
set(ENV{CMAKE_PREFIX_PATH} "/opt/libfabric/1.6.0:/opt/hdf5/1.10.4:$ENV{CMAKE_PREFIX_PATH}") | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
Oops, something went wrong.