Skip to content

Commit 3eac06d

Browse files
committed
Add linux TSAN build
1 parent b0148ed commit 3eac06d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
- os: "ubuntu-22.04"
1919
shell: "bash"
2020
CONFIGURE_EXTRAS: "-DFEATURE_xcb=ON -DINPUT_bundled_xcb_xinput=yes -DFEATURE_libudev=OFF"
21+
- os: "ubuntu-22.04"
22+
shell: "bash"
23+
CONFIGURE_EXTRAS: "-DFEATURE_sanitize_thread=ON -DFEATURE_xcb=ON -DINPUT_bundled_xcb_xinput=yes -DFEATURE_libudev=OFF"
24+
BUILD_TAG: "_tsan"
2125
- os: "ubuntu-22.04-arm"
2226
shell: "bash"
2327
- os: "macos-13"
@@ -36,6 +40,7 @@ jobs:
3640
shell: ${{ matrix.shell }}
3741
env:
3842
CONFIGURE_EXTRAS: ${{ matrix.CONFIGURE_EXTRAS }}
43+
BUILD_TAG: ${{ matrix.BUILD_TAG }}
3944
steps:
4045
- uses: spatial-model-editor/[email protected]
4146
- uses: actions/checkout@v4

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ echo "INSTALL_PREFIX = $INSTALL_PREFIX"
88
echo "MACOSX_DEPLOYMENT_TARGET = $MACOSX_DEPLOYMENT_TARGET"
99
echo "SUDO_CMD = $SUDO_CMD"
1010
echo "CONFIGURE_EXTRAS = $CONFIGURE_EXTRAS"
11+
echo "BUILD_TAG = $BUILD_TAG"
1112
echo "OS=$OS"
1213
echo "PATH=$PATH"
1314
which g++
@@ -91,4 +92,4 @@ $INSTALL_PREFIX/bin/qmake -v
9192
# make tarball of installation
9293
mkdir artefacts
9394
cd artefacts
94-
tar -zcvf sme_deps_qt_${OS}.tgz ${INSTALL_PREFIX}/*
95+
tar -zcvf sme_deps_qt_${OS}${BUILD_TAG}.tgz ${INSTALL_PREFIX}/*

0 commit comments

Comments
 (0)