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 Sep 20, 2024
1 parent 0b2e5a7 commit f5bc5bb
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 f5bc5bb

Please sign in to comment.