Skip to content

Commit

Permalink
Merge pull request #245 from giuseppe/run-distcheck-ci
Browse files Browse the repository at this point in the history
.github: run make distcheck as part of the CI
  • Loading branch information
alexlarsson authored Jan 30, 2024
2 parents f6bbf54 + 5d3fe92 commit e63786d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,14 @@ jobs:
run: |
sudo docker build -t clang-format hacking/clang-format
sudo docker run --rm -w /src -v ${PWD}:/src clang-format
distcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: sudo ./hacking/installdeps.sh
- name: Configure
run: ./autogen.sh && ./configure CFLAGS='-Wall -Werror'
- name: Run make distcheck
run: make -j$(nproc) distcheck
2 changes: 1 addition & 1 deletion tests/fuzzing/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -xeuo pipefail

make -j $(nproc)

bwrap --bind / / --dev-bind /dev/null /dev/null --dev-bind /dev/urandom /dev/urandom --bind ${PWD} ${PWD} --remount-ro / honggfuzz --verifier --linux_perf_instr --threads 4 -s --exit_upon_crash -i tests/fuzzing -- tools/mkcomposefs
bwrap --bind / / --dev-bind /dev/null /dev/null --dev-bind /dev/urandom /dev/urandom --bind ${PWD} ${PWD} --remount-ro / honggfuzz --verifier --linux_perf_instr --threads $(nproc) -s --exit_upon_crash -i tests/fuzzing -- tools/mkcomposefs

0 comments on commit e63786d

Please sign in to comment.