Increase the maximum printing depth from 256 to 10000 (fixes #3413) (… #1644
This file contains hidden or 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: valgrind | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - name: Install packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y automake autoconf libtool valgrind | |
| - name: Build | |
| run: | | |
| autoreconf -i | |
| ./configure \ | |
| --disable-docs \ | |
| --enable-valgrind \ | |
| --with-oniguruma=builtin | |
| make -j"$(nproc)" | |
| file ./jq | |
| - name: Test | |
| run: | | |
| make check VERBOSE=yes | |
| git diff --exit-code | |
| - name: Upload Test Logs | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-logs-valgrind-linux | |
| retention-days: 7 | |
| path: | | |
| test-suite.log | |
| tests/*.log |