-
Notifications
You must be signed in to change notification settings - Fork 128
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
5ca7938
commit 305f468
Showing
14 changed files
with
206 additions
and
194 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: OLCF sync script | ||
name: Sync jobs | ||
|
||
on: | ||
schedule: | ||
|
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,84 @@ | ||
# This file is used to define the GitLab CI/CD pipeline for the ADIOS2 project. | ||
.common-sanitizer: | ||
variables: | ||
GITLAB_SITE: "UO CI (gitlab.spack.io)" | ||
CI_BIN_DIR: "$CI_PROJECT_DIR/build" | ||
tags: | ||
- medium | ||
- uo | ||
- public | ||
- x86_64 | ||
interruptible: true | ||
|
||
.common-build: | ||
extends: | ||
- .common-sanitizer | ||
stage: build | ||
script: | ||
- bash scripts/ci/gitlab-ci/run.sh update | ||
- bash scripts/ci/gitlab-ci/run.sh configure | ||
- bash scripts/ci/gitlab-ci/run.sh build | ||
artifacts: | ||
expire_in: 1 hours | ||
when: always | ||
paths: | ||
- $CI_BIN_DIR/bin/ | ||
- $CI_BIN_DIR/lib/ | ||
- $CI_BIN_DIR/lib64/ | ||
- $CI_BIN_DIR/thirdparty/**/lib64/ | ||
- $CI_BIN_DIR/testing/ | ||
- $CI_BIN_DIR/source/**/*.h | ||
- $CI_BIN_DIR/source/**/*.in | ||
|
||
# CTest and CMake install files. | ||
- $CI_BIN_DIR/CMakeCache.txt | ||
- $CI_BIN_DIR/**/*.cmake | ||
- $CI_BIN_DIR/Testing/ | ||
|
||
# CDash files. | ||
- $CI_BIN_DIR/DartConfiguration.tcl | ||
|
||
.common-test: | ||
extends: | ||
- .common-sanitizer | ||
stage: test | ||
script: | ||
- bash scripts/ci/gitlab-ci/run.sh memcheck | ||
|
||
#=============================================================================== | ||
|
||
build:uo-sanitizer-asan: | ||
image: ornladios/adios2:ci-fedora-asan | ||
extends: [.common-build] | ||
|
||
build:uo-sanitizer-msan: | ||
image: ornladios/adios2:ci-fedora-msan | ||
extends: [.common-build] | ||
|
||
build:uo-sanitizer-tsan: | ||
image: ornladios/adios2:ci-fedora-tsan | ||
extends: [.common-build] | ||
|
||
build:uo-sanitizer-ubsan: | ||
image: ornladios/adios2:ci-fedora-ubsan | ||
extends: [.common-build] | ||
|
||
test:uo-sanitizer-asan: | ||
image: ornladios/adios2:ci-fedora-asan | ||
extends: [.common-test] | ||
needs: [build:uo-sanitizer-asan] | ||
|
||
test:uo-sanitizer-msan: | ||
image: ornladios/adios2:ci-fedora-msan | ||
extends: [.common-test] | ||
needs: [build:uo-sanitizer-msan] | ||
|
||
test:uo-sanitizer-tsan: | ||
image: ornladios/adios2:ci-fedora-tsan | ||
extends: [.common-test] | ||
needs: [build:uo-sanitizer-tsan] | ||
|
||
test:uo-sanitizer-ubsan: | ||
image: ornladios/adios2:ci-fedora-ubsan | ||
extends: [.common-test] | ||
needs: [build:uo-sanitizer-ubsan] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,29 @@ | ||
# Client maintainer: [email protected] | ||
|
||
set(ENV{CC} clang) | ||
set(ENV{CXX} clang++) | ||
set(ASAN_FLAGS "-fsanitize=address -fno-omit-frame-pointer -pthread -mllvm -asan-use-private-alias=1 -Wno-unused-command-line-argument") | ||
set(ENV{ASAN_OPTIONS} "use_odr_indicator=1") | ||
set(ENV{LSAN_OPTIONS} "suppressions=$ENV{CI_SOURCE_DIR}/scripts/ci/cmake/adios-asan.supp") | ||
set(ENV{CFLAGS} "${ASAN_FLAGS}") | ||
set(ENV{CXXFLAGS} "${ASAN_FLAGS}") | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_Fortran:STRING=OFF | ||
ADIOS2_USE_HDF5:STRING=ON | ||
ADIOS2_USE_MPI:STRING=OFF | ||
ADIOS2_USE_Python:STRING=OFF | ||
ADIOS2_USE_ZFP:STRING=ON | ||
") | ||
|
||
set(dashboard_track "Analysis") | ||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
set(CTEST_BUILD_FLAGS "-k -j4") | ||
set(CTEST_MEMORYCHECK_TYPE "AddressSanitizer") | ||
|
||
set(ADIOS_TEST_REPEAT 0) | ||
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,31 @@ | ||
# Client maintainer: [email protected] | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
CMAKE_TOOLCHAIN_FILE:FILEPATH=/opt/msan/toolchain.cmake | ||
ADIOS2_USE_Fortran:STRING=OFF | ||
ADIOS2_USE_HDF5:STRING=ON | ||
ADIOS2_USE_MPI:STRING=OFF | ||
ADIOS2_USE_Python:STRING=OFF | ||
HDF5_C_COMPILER_EXECUTABLE:FILEPATH=/opt/msan/bin/h5cc | ||
HDF5_DIFF_EXECUTABLE:FILEPATH=/opt/msan/bin/h5diff | ||
") | ||
|
||
set(dashboard_track "Analysis") | ||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
set(CTEST_BUILD_FLAGS "-k0 -j") | ||
set(CTEST_MEMORYCHECK_TYPE "MemorySanitizer") | ||
|
||
list(APPEND EXCLUDE_EXPRESSIONS | ||
"Engine.BP.BPBufferSizeTest.SyncDeferredIdenticalUsage.BP3.Serial" | ||
"Engine.BP.BPBufferSizeTest.SyncDeferredIdenticalUsage.BP4.Serial" | ||
) | ||
list(JOIN EXCLUDE_EXPRESSIONS "|" TEST_EXCLUDE_STRING) | ||
set(CTEST_MEMCHECK_ARGS EXCLUDE "${TEST_EXCLUDE_STRING}") | ||
|
||
set(ADIOS_TEST_REPEAT 0) | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
Oops, something went wrong.