build(deps): bump egor-tensin/setup-clang from 1 to 2 #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Leak Sanitizer | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: true | |
| - name: Setup | |
| run: | | |
| sudo apt update | |
| sudo apt-get install build-essential automake autoconf autoconf-archive texinfo libtool-bin yasm ninja-build ccache | |
| - name: Setup Clang | |
| uses: pkgxdev/setup@v4 | |
| with: | |
| +: clang@20 | |
| - run: clang --version | |
| - name: Restore artifacts or setup vcpkg | |
| uses: lukka/run-vcpkg@v11 | |
| with: | |
| vcpkgGitCommitId: ${{ vars.VCPKG_GIT_COMMIT_ID }} | |
| - name: Configure | |
| run: cmake --preset=lsan | |
| - name: Build | |
| run: cmake --build build -j 2 | |
| - name: Run tests | |
| working-directory: build | |
| continue-on-error: true | |
| run: ctest -VV | |
| - name: Run LSAN on initialize | |
| working-directory: build/src | |
| continue-on-error: true | |
| run: ./initialize --s -n32000 -t11 -o | |
| - name: Run LSAN on cdt-opt | |
| working-directory: build/src | |
| continue-on-error: true | |
| run: ./cdt-opt | |
| - name: Run LSAN on cdt | |
| working-directory: build/src | |
| continue-on-error: true | |
| run: ./cdt --s -n64 -t3 -a.6 -k1.1 -l.1 -p10 |