File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-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"
@@ -25,15 +28,19 @@ jobs:
2528 defaults :
2629 run :
2730 shell : ${{ matrix.shell }}
31+ env :
32+ BUILD_TAG : ${{ matrix.BUILD_TAG }}
2833 steps :
29- -
uses :
spatial-model-editor/[email protected] .06 34+ -
uses :
spatial-model-editor/[email protected] .15 3035 with :
31- sme_deps_common : " 2025.10.06"
36+ sme_deps_common : " 2025.10.15"
37+ build_tag : ${{ matrix.BUILD_TAG }}
38+ cache_id : ${{ matrix.BUILD_TAG }}
3239 - uses : actions/checkout@v4
3340 - run : ./build.sh
3441 - uses : actions/upload-artifact@v4
3542 with :
36- name : artifacts-${{ matrix.os }}
43+ name : artifacts-${{ matrix.os }}${{ matrix.BUILD_TAG }}
3744 path : ./artefacts/*
3845 retention-days : 3
3946 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