style: make separate functions for assignment, ternary and short_circ… #113
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: VALGRIND => test memory leaks (ubuntu, gcc) | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install deps | |
run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | |
sudo apt update | |
sudo apt install gcc g++ libboost-all-dev valgrind | |
- name: Build scarlet | |
run: | | |
mkdir -p build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ .. && make | |
- name: Test memory leaks | |
run: | | |
cd stress && ./check_memory_leaks.sh |