Compare commits
3 Commits
928f1f51db
...
main
Author | SHA1 | Date | |
---|---|---|---|
42686abc67 | |||
aa067bf002 | |||
03cbedd610 |
@@ -10,20 +10,10 @@ jobs:
|
|||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
run: sudo apt-get update && sudo apt-get install -y build-essential valgrind
|
||||||
|
|
||||||
- name: Build program
|
- name: Build program
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
- name: Run valgrind
|
- name: Run valgrind
|
||||||
uses: Ximaz/valgrind-action@v1.2.0
|
run: valgrind -s --leak-check=full --error-exitcode=1 ./bin/program
|
||||||
with:
|
|
||||||
binary_path: "./bin/program"
|
|
||||||
binary_args: ""
|
|
||||||
ld_library_path: ""
|
|
||||||
redzone_size: 16
|
|
||||||
track_file_descriptors: true
|
|
||||||
treat_error_as_warning: false
|
|
||||||
valgrind_suppressions: ""
|
|
||||||
verbose: true
|
|
||||||
timeout: 0s
|
|
19
.github/workflows/check-valgrind.yaml
vendored
Normal file
19
.github/workflows/check-valgrind.yaml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Check valgrind
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-valgrind:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y build-essential valgrind
|
||||||
|
|
||||||
|
- name: Build program
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Run valgrind
|
||||||
|
run: valgrind -s --leak-check=full --error-exitcode=1 ./bin/program
|
16
.github/workflows/run-tests.yaml
vendored
Normal file
16
.github/workflows/run-tests.yaml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Run tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y build-essential
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: make test
|
@@ -1 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
Reference in New Issue
Block a user