Remove duplicate code #9
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: Check memory leaks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependency | |
run: | | |
sudo apt-get -y install cmake valgrind | |
- name: Build | |
run: bash ci/build-and-install.sh | |
- name: Test | |
run: bash ci/test-memory.sh |