Skip to content
Draft
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
48 changes: 48 additions & 0 deletions .github/workflows/linux-eic-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,17 @@ 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
# 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: build-t-algorithms-test-${{ matrix.CXX }}-eic-shell-${{ matrix.CMAKE_BUILD_TYPE }}-${{ env.platform }}-${{ matrix.release }}-ASAN
path: build-t-algorithms-test.tar.zst
Comment on lines +221 to +229
if-no-files-found: error
- name: Upload install directory (TSAN)
if: ${{ matrix.USE_ASAN == 'OFF' && matrix.USE_TSAN == 'ON' }}
uses: actions/upload-artifact@v7
Expand All @@ -236,6 +247,43 @@ jobs:
path: build.tar.zst
if-no-files-found: error

t-algorithms-test:
# This job runs t_algorithms_test separately from the build job.
# It specifically targets the clang++ Release ASAN configuration that was failing.
runs-on: ubuntu-24.04
needs:
- build
Comment thread
wdconinc marked this conversation as resolved.
continue-on-error: true
steps:
- name: Checkout .github
uses: actions/checkout@v6
with:
sparse-checkout: .github
- uses: cvmfs-contrib/github-action-cvmfs@v5
- name: Download install directory
uses: actions/download-artifact@v8
with:
name: install-clang++-eic-shell-Release-${{ env.platform }}-${{ env.release }}-ASAN
- name: Uncompress install directory
run: tar -xaf install.tar.zst
- name: Download build directory (for t_algorithms_test)
uses: actions/download-artifact@v8
with:
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:
organization: "${{ env.organization }}"
platform-release: "${{ env.platform }}:${{ env.release }}"
run: |
# GitHub Actions artifacts do not preserve file permissions
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}}
ctest --test-dir build -V -R "^t_algorithms_test$"

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