Files
wolfssl/.github/workflows/check-headers.yml
T
David Garske 6605060b18 CI: more smoke coverage + header self-sufficiency
- Add AddressSanitizer entry to smoke matrix (--enable-all + -fsanitize=address).
- Add check-headers workflow: 214 public wolfssl/*.h compile standalone.
- Fix quic.h, rng_bank.h, Renesas/renesas-fspsm-crypt.h to be self-sufficient.
- Remove no-tls.yml (its single config is already covered by os-check.yml).
2026-05-21 14:37:11 -07:00

44 lines
1.1 KiB
YAML

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:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-apt-deps
with:
packages: autoconf automake libtool build-essential
- name: autogen
run: ./autogen.sh
- name: configure --enable-all
run: ./configure --enable-all
- name: Run check-headers
run: ./.github/scripts/check-headers.sh