mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 20:20:50 +02:00
6605060b18
- 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).
44 lines
1.1 KiB
YAML
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
|