-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (33 loc) · 1.08 KB
/
memcheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Memory Leak Check
on:
push:
branches-ignore: ["candidate-install"]
permissions:
contents: read
pages: write
id-token: write
jobs:
test-coverage:
name: Compile in debug and run valgrind
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: install valgrind
run: sudo apt install valgrind
- name: configure (2d)
continue-on-error: true
run: ./configure --dim=2 --debug
- name: make (2d)
continue-on-error: true
run: make
- name: unit tests (2d)
continue-on-error: true
run: --valgrind --error-exitcode=1 --leak-check=full ./bin/test-2d-debug-g++
- name: flame (2d)
continue-on-error: true
run: valgrind --error-exitcode=1 --leak-check=full ./bin/alamo-2d-debug-g++ tests/SCPSandwich/input stop_time=0.0002
- name: microstructure (2d)
continue-on-error: true
run: valgrind --error-exitcode=1 --leak-check=full ./bin/alamo-2d-debug-g++ tests/PerturbedInterface/input stop_time=0.03