zig: change from defineCMacro to addCMacro #190
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: Test for memory leaks | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: | |
Valgrind | |
runs-on: ubuntu-latest | |
env: | |
CC: gcc | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt-get -y install valgrind | |
sudo apt-get -y install zlib1g-dev | |
- name: test valgrind | |
run: make test_valgrind V=1 -j 2 |