| # Quick checks against the source which need nothing built, and so do |
| # not belong in the build matrix: there they would spend twenty seconds |
| # installing packages to run a one second check. |
| |
| name: Sanity |
| |
| on: |
| push: |
| branches: [ "*" ] |
| paths-ignore: |
| - STATUS |
| - CHANGES |
| - README* |
| - '**.md' |
| - changes-entries/* |
| pull_request: |
| branches: [ "trunk", "2.4.x" ] |
| paths-ignore: |
| - STATUS |
| - CHANGES |
| - README* |
| - '**.md' |
| - changes-entries/* |
| |
| permissions: |
| contents: read |
| |
| concurrency: |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} |
| |
| jobs: |
| aplogno: |
| runs-on: ubuntu-latest |
| timeout-minutes: 5 |
| steps: |
| - uses: actions/checkout@v6 |
| - name: Check APLOGNO() macros |
| run: ./test/travis_run_linux.sh |
| env: |
| TEST_LOGNO: 1 |
| |
| buildconf: |
| runs-on: ubuntu-latest |
| timeout-minutes: 5 |
| steps: |
| - uses: actions/checkout@v6 |
| - name: Install prerequisites |
| run: sudo apt-get -o Acquire::Retries=5 update && |
| sudo apt-get install -o Acquire::Retries=5 libapr1-dev libaprutil1-dev |
| - name: Check for autoconf warnings |
| run: ./buildconf --with-apr=/usr/bin/apr-1-config --with-errors |
| |
| docs: |
| runs-on: ubuntu-latest |
| timeout-minutes: 5 |
| steps: |
| - uses: actions/checkout@v6 |
| - name: Install prerequisites |
| run: sudo apt-get -o Acquire::Retries=5 update && |
| sudo apt-get install -o Acquire::Retries=5 libxml2-utils w3c-sgml-lib |
| - name: Check docs XML |
| run: ./test/gha-docs-check.sh |