Add true zero-allocation X.509 certificate verification under WOLFSSL_NO_MALLOC #1303
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: Check Headers | |
| # Verifies every public-facing wolfSSL header compiles standalone with | |
| # only wolfssl/options.h included first. Catches the common breakage | |
| # where a header silently relies on a transitive include from an | |
| # earlier .c file and stops compiling from a fresh consumer. | |
| # | |
| # Runs on drafts (fast static check). | |
| on: | |
| push: | |
| branches: [ master, main ] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| branches: [ master, main ] | |
| concurrency: | |
| group: check-headers-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| # Only run from the wolfssl org to avoid burning forks' CI minutes. | |
| if: github.repository_owner == 'wolfssl' | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| uses: ./.github/actions/install-apt-deps | |
| with: | |
| packages: autoconf automake libtool build-essential | |
| ghcr-debs-tag: ubuntu-24.04-minimal | |
| - name: autogen | |
| run: ./autogen.sh | |
| - name: configure --enable-all | |
| run: ./configure --enable-all | |
| - name: Run check-headers | |
| run: ./.github/scripts/check-headers.sh |