Skip to content

Commit

Permalink
ci: add job checking for memory leaks
Browse files Browse the repository at this point in the history
Add a CI job that exercises the clar for memory leaks.
  • Loading branch information
pks-t committed Oct 21, 2024
1 parent f6b6476 commit 2ff1c51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
platform:
- os: ubuntu-latest
generator: Unix Makefiles
- os: ubuntu-latest
generator: Unix Makefiles
env:
CC: "clang"
CFLAGS: "-fsanitize=leak"
- os: macos-latest
generator: Unix Makefiles
- os: windows-latest
Expand All @@ -24,6 +29,10 @@ jobs:

runs-on: ${{ matrix.platform.os }}

env:
CC: ${{matrix.platform.env.CC}}
CFLAGS: ${{matrix.platform.env.CFLAGS}}

steps:
- name: Check out
uses: actions/checkout@v2
Expand Down

0 comments on commit 2ff1c51

Please sign in to comment.