Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .github/workflows/linux-eic-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,16 @@ jobs:
name: install-${{ matrix.CXX }}-eic-shell-${{ matrix.CMAKE_BUILD_TYPE }}-${{ env.platform }}-${{ matrix.release }}-ASAN
path: install.tar.zst
if-no-files-found: error
- name: Upload algorithms_test binary (ASAN)
if: ${{ matrix.USE_ASAN == 'ON' && matrix.USE_TSAN == 'OFF' }}
# Only compress and upload build directory for t_algorithms_test if we are going to use it later
- name: Compress build directory (for t_algorithms_test)
if: ${{ matrix.CXX == 'clang++' && matrix.CMAKE_BUILD_TYPE == 'Release' && matrix.USE_ASAN == 'ON' && matrix.USE_TSAN == 'OFF' }}
run: tar -caf build-t-algorithms-test.tar.zst $(find build -name "CTestTestfile.cmake") build/src/tests/algorithms_test/algorithms_test
- name: Upload build directory (for t_algorithms_test)
if: ${{ matrix.CXX == 'clang++' && matrix.CMAKE_BUILD_TYPE == 'Release' && matrix.USE_ASAN == 'ON' && matrix.USE_TSAN == 'OFF' }}
uses: actions/upload-artifact@v7
with:
name: algorithms_test-${{ matrix.CXX }}-eic-shell-${{ matrix.CMAKE_BUILD_TYPE }}-${{ env.platform }}-${{ matrix.release }}-ASAN
path: build/src/tests/algorithms_test/algorithms_test
name: build-t-algorithms-test-${{ matrix.CXX }}-eic-shell-${{ matrix.CMAKE_BUILD_TYPE }}-${{ env.platform }}-${{ matrix.release }}-ASAN
path: build-t-algorithms-test.tar.zst
if-no-files-found: error
- name: Upload install directory (TSAN)
if: ${{ matrix.USE_ASAN == 'OFF' && matrix.USE_TSAN == 'ON' }}
Expand Down Expand Up @@ -262,11 +266,12 @@ jobs:
name: install-clang++-eic-shell-Release-${{ env.platform }}-${{ env.release }}-ASAN
- name: Uncompress install directory
run: tar -xaf install.tar.zst
- name: Download algorithms_test binary
- name: Download build directory (for t_algorithms_test)
uses: actions/download-artifact@v8
with:
name: algorithms_test-clang++-eic-shell-Release-${{ env.platform }}-${{ env.release }}-ASAN
path: build/src/tests/algorithms_test/
name: build-t-algorithms-test-clang++-eic-shell-Release-${{ env.platform }}-${{ env.release }}-ASAN
- name: Uncompress build directory
run: tar -xaf build-t-algorithms-test.tar.zst
- name: Run t_algorithms_test
uses: eic/run-cvmfs-osg-eic-shell@main
with:
Expand All @@ -277,8 +282,7 @@ jobs:
chmod +x build/src/tests/algorithms_test/algorithms_test
export LD_LIBRARY_PATH=$PWD/install/lib:$LD_LIBRARY_PATH
export JANA_PLUGIN_PATH=$PWD/install/lib/EICrecon/plugins${JANA_PLUGIN_PATH:+:${JANA_PLUGIN_PATH}}
cd build/src/tests/algorithms_test
./algorithms_test
ctest --test-dir build -V -R "^t_algorithms_test$"

clang-tidy-iwyu:
runs-on: ubuntu-24.04
Expand Down
Loading