feat: Modify makefile for macOS #67
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: Run Unit Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
types: [opened, synchronize, ready_for_review] | |
paths: | |
- '.github/**' | |
- 'src/**' | |
- 'tests/**' | |
- 'makefile' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
if: github.repository_owner == 'sisoputnfrba' && ! github.event.pull_request.draft | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends cmake valgrind | |
- name: Build project | |
run: make debug | |
- name: Run unit tests with Valgrind | |
run: make valgrind |