File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1414 include :
1515 - os : " ubuntu-22.04"
1616 shell : " bash"
17+ - os : " ubuntu-22.04"
18+ shell : " bash"
19+ BUILD_TAG : " _tsan"
1720 - os : " ubuntu-22.04-arm"
1821 shell : " bash"
1922 - os : " macos-13"
@@ -26,14 +29,16 @@ jobs:
2629 run :
2730 shell : ${{ matrix.shell }}
2831 steps :
29- - uses : spatial-model-editor/setup-ci@2025.10.06
32+ - uses : spatial-model-editor/setup-ci@2025.10.15
3033 with :
31- sme_deps_common : " 2025.10.06"
34+ sme_deps_common : " 2025.10.15"
35+ build_tag : ${{ matrix.BUILD_TAG }}
36+ cache_id : ${{ matrix.BUILD_TAG }}
3237 - uses : actions/checkout@v4
3338 - run : ./build.sh
3439 - uses : actions/upload-artifact@v4
3540 with :
36- name : artifacts-${{ matrix.os }}
41+ name : artifacts-${{ matrix.os }}${{ matrix.BUILD_TAG }}
3742 path : ./artefacts/*
3843 retention-days : 3
3944 release :
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ if [[ $MSYSTEM ]]; then
3232 # https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections
3333 export CMAKE_CXX_FLAGS=' "-fvisibility=hidden -Wa,-mbig-obj -D_GLIBCXX_USE_TBB_PAR_BACKEND=0 -DNDEBUG"'
3434fi
35+ if [[ $BUILD_TAG == " _tsan" ]]; then
36+ export CMAKE_CXX_FLAGS=' "-fvisibility=hidden -fsanitize=thread -fno-omit-frame-pointer"'
37+ fi
3538
3639# clone dune-copasi
3740git clone -b ${DUNE_COPASI_VERSION} --depth 1 https://gitlab.dune-project.org/copasi/dune-copasi.git
@@ -65,4 +68,4 @@ cat ${INSTALL_PREFIX}/share/dune/cmake/modules/DunePythonCommonMacros.cmake
6568ls ${INSTALL_PREFIX}
6669mkdir artefacts
6770cd artefacts
68- tar -zcf sme_deps_${OS} .tgz ${INSTALL_PREFIX} /*
71+ tar -zcf sme_deps_${OS}${BUILD_TAG} .tgz ${INSTALL_PREFIX} /*
You can’t perform that action at this time.
0 commit comments