mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 23:30:50 +02:00
7f80896033
- Skip CI for draft PRs and redundant master-push re-runs; membrowse nightly. - Add smoke test (8 configs, CFLAGS=-Werror, post-merge tree, fail-fast on conflicts). - Add wait-for-smoke composite action for downstream CI gating. - Add check-source-text + bash -n + shellcheck workflow (script in make dist). - Cache apt-get update in install-apt-deps composite on cache hit.
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
name: Fil-C Tests
|
|
|
|
env:
|
|
FIL_C_VERSION: v0.674
|
|
|
|
# START OF COMMON SECTION
|
|
on:
|
|
push:
|
|
branches: [ 'release/**' ]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
branches: [ '*' ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
# END OF COMMON SECTION
|
|
|
|
jobs:
|
|
run_fil_c:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
config: [
|
|
# Add new configs here. Don't use CPPFLAGS.
|
|
'',
|
|
'--enable-all',
|
|
]
|
|
# This should be a safe limit for the tests to run.
|
|
timeout-minutes: 30
|
|
if: ${{ (github.repository_owner == 'wolfssl') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }}
|
|
runs-on: ubuntu-24.04
|
|
name: ${{ matrix.config }}
|
|
steps:
|
|
- name: Download fil-c release
|
|
run: gh release download ${{ env.FIL_C_VERSION }} --repo pizlonator/fil-c --pattern 'filc-*'
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
|
|
- name: Extract fil-c tarball
|
|
run: mkdir -p filc && tar -xf filc-*.tar* --strip-components=1 -C filc
|
|
|
|
- name: Build and test wolfSSL
|
|
uses: wolfSSL/actions-build-autotools-project@v1
|
|
with:
|
|
path: wolfssl
|
|
configure: ${{ matrix.config }} CC=$GITHUB_WORKSPACE/filc/build/bin/filcc --disable-asm CPPFLAGS=-DWC_NO_CACHE_RESISTANT
|
|
check: true
|