Skip to content

chore: update to 0.3.2 #63

chore: update to 0.3.2

chore: update to 0.3.2 #63

Workflow file for this run

name: Build and Exercise
on:
push:
paths:
- "Makefile"
- "src/**"
- "main.c"
pull_request:
branches:
- "main"
paths:
- "Makefile"
- "src/**"
- "main.c"
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build primary executable
run: make
- name: Exercise install
run: sudo make install
- name: Exercise uninstall
run: sudo make uninstall
- name: Clean up primary build
run: make clean
- name: Build debug executable
run: make debug
- name: Clean up debug build
run: make debug_clean
Run_Valgrind:
needs: build
runs-on: ubuntu-latest
env:
test_files_dir: test_dir
utils: .github/utils
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get -y install valgrind
- name: Create test files
run: sh "$utils"/init_files.sh "$test_files_dir" 10
- name: Build debug executable
run: make debug
- name: Execute Valgrind
run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all -s ./debug_mmv "$test_files_dir"/test*