mirror of https://github.com/wolfSSL/wolfBoot.git
Bump ci v0.9.2
parent
6b7448d4d1
commit
42cbe1fbbf
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
footprint_test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
name: cmake .config test (${{ matrix.target }})
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
strategy:
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
name: Build on Ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 20
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
name: Build wolfBoot (target=${{ matrix.target }})
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
strategy:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
cmake_automated_test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,47 @@
|
|||
name: Wolfboot Reusable Build Workflow (PowerPC)
|
||||
|
||||
on:
|
||||
|
||||
workflow_call:
|
||||
inputs:
|
||||
arch:
|
||||
required: true
|
||||
type: string
|
||||
config-file:
|
||||
required: true
|
||||
type: string
|
||||
make-args:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-powerpc:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Trust workspace
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: make clean
|
||||
run: |
|
||||
make distclean
|
||||
|
||||
- name: Select config
|
||||
run: |
|
||||
cp ${{inputs.config-file}} .config
|
||||
|
||||
- name: Build tools
|
||||
run: |
|
||||
make -C tools/keytools && make -C tools/bin-assemble
|
||||
|
||||
- name: Build wolfboot
|
||||
run: |
|
||||
make ${{inputs.make-args}}
|
||||
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
cppcheck:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
custom_tlv_simulator_tests:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
elf_scattered_test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
test_external_libs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
# Matrix to test multiple configurations
|
||||
|
|
@ -79,12 +79,6 @@ jobs:
|
|||
WOLFBOOT_LIB_WOLFPKCS11="$(realpath ../external-libs/wolfPKCS11)" \
|
||||
WOLFBOOT_LIB_WOLFHSM="$(realpath ../external-libs/wolfHSM)"
|
||||
|
||||
# If building unit tests, install libcheck
|
||||
- name: install libcheck
|
||||
if: matrix.test-config.is-unit-test == true
|
||||
run: echo "libcheck already installed in container"
|
||||
|
||||
|
||||
# Build unit tests with external paths
|
||||
- name: Build unit tests with external library paths
|
||||
if: matrix.test-config.is-unit-test == true
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
build-lib-fs-example:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
hooks_test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 30
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
test-lib:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
strategy:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-powerpc:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-powerpc:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
powerfail_simulator_tests:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
self_update_simulator_test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
simulator_tests:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
unit_tests:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
check:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-arm:v0.9.2
|
||||
# Provide fallbacks when not workflow_dispatch
|
||||
env:
|
||||
WORKSPACE_PATH: ${{ github.event_name == 'workflow_dispatch' && inputs.workspace_path || 'IDE/VSCode/wolfBoot.code-workspace' }}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:latest
|
||||
image: ghcr.io/wolfssl/wolfboot-ci-sim:v0.9.2
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in New Issue