Skip to content

WIP COMPLETE RECODE #23

WIP COMPLETE RECODE

WIP COMPLETE RECODE #23

Workflow file for this run

name: Everything C
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
static_analysis:
name: Run gcc with warnings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: sudo apt-get install gcc cppcheck
- name: Compile Library with Warnings
run: gcc -Wall -Wextra -Wpedantic -Werror -std=c11 -c -o /dev/null ./blackheap-benchmarker/src/c_code/benchmarker_internal.c
- name: Run cppcheck
# This is everything but `unusedFunction` enabled
run: cppcheck --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 ./blackheap-benchmarker/src/c_code/benchmarker.c