diff --git a/.gitea/workflows/check-valgrind.yaml b/.gitea/workflows/check-valgrind.yaml new file mode 100644 index 0000000..0d99ba0 --- /dev/null +++ b/.gitea/workflows/check-valgrind.yaml @@ -0,0 +1,29 @@ +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 + + - name: Build program + run: make + + - name: Run valgrind + uses: Ximaz/valgrind-action@v1.2.0 + 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 \ No newline at end of file