ci/clang: bump clang-18 and use ubuntu 24.04 #5143
Workflow file for this run
This file contains 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: valgrind leak check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
valgrind: | |
runs-on: ubuntu-20.04 | |
env: | |
CMAKE_GENERATOR: Ninja | |
steps: | |
- uses: actions/checkout@v4 | |
- name: fix flaky azure mirrors | |
if: ${{ runner.os == 'Linux' }} | |
run: | | |
sudo sed -i 's/azure\./de\./' /etc/apt/sources.list | |
- name: install packages | |
run: | | |
sudo apt-get update && sudo apt-get install -y libssl-dev valgrind ninja-build | |
- name: make | |
run: | | |
cmake -B build && cmake --build build -j -t retest | |
- name: retest | |
run: | | |
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/test/retest -r -v |