mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 21:50:49 +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.
50 lines
2.0 KiB
YAML
50 lines
2.0 KiB
YAML
name: Espressif examples tests
|
|
# 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:
|
|
espressif_latest:
|
|
name: latest Docker container
|
|
if: ${{ (github.repository_owner == 'wolfssl') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }}
|
|
runs-on: ubuntu-24.04
|
|
# This should be a safe limit for the tests to run.
|
|
timeout-minutes: 12
|
|
container:
|
|
# The latest stable release is v5.5
|
|
image: espressif/idf:release-v5.5
|
|
# image: espressif/idf:latest # The "latest" has breaking changes for ESP-IDF V6
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Initialize Espressif IDE and build examples
|
|
run: cd /opt/esp/idf && . ./export.sh && cd $GITHUB_WORKSPACE; IDE/Espressif/ESP-IDF/compileAllExamples.sh
|
|
espressif_v4_4:
|
|
name: v4.4 Docker container
|
|
if: ${{ (github.repository_owner == 'wolfssl') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }}
|
|
runs-on: ubuntu-24.04
|
|
container:
|
|
image: espressif/idf:release-v4.4
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Initialize Espressif IDE and build examples
|
|
run: cd /opt/esp/idf && . ./export.sh && cd $GITHUB_WORKSPACE; IDE/Espressif/ESP-IDF/compileAllExamples.sh
|
|
espressif_v5_0:
|
|
name: v5.0 Docker container
|
|
if: ${{ (github.repository_owner == 'wolfssl') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }}
|
|
runs-on: ubuntu-24.04
|
|
container:
|
|
image: espressif/idf:release-v5.0
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Initialize Espressif IDE and build examples
|
|
run: cd /opt/esp/idf && . ./export.sh && cd $GITHUB_WORKSPACE; IDE/Espressif/ESP-IDF/compileAllExamples.sh
|