-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9da2499
commit 470ff3f
Showing
3 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Valgrind | ||
|
||
on: [workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
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 GCC | ||
uses: pkgxdev/setup@v1 | ||
with: | ||
+: gcc@13 | ||
|
||
- run: gcc --version | ||
|
||
- name: Restore artifacts or setup vcpkg | ||
uses: lukka/run-vcpkg@v11 | ||
with: | ||
vcpkgGitCommitId: 2a01db703fec3cdd13ca884a6a84d1505df2d235 | ||
|
||
- name: Configure | ||
run: cmake --preset=valgrind | ||
|
||
- name: Build | ||
run: cmake --build build -j 2 | ||
|
||
- name: Run Valgrind | ||
working-directory: build | ||
continue-on-error: true | ||
run: | | ||
ctest -VV -T memcheck --verbose | ||
cd src | ||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose ./initialize --s n32000 -t11 -o | ||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose ./cdt-opt | ||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose ./cdt --s -n64 -t3 -a.6 -k1.1 -l.1 -p10 |
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