Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_resolve-wolfssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
resolve:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 5
outputs:
matrix: ${{ steps.refs.outputs.matrix }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-pin-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
pin:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 23 additions & 5 deletions .github/workflows/compiler-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
host-unit-tests:
name: Host tests (${{ matrix.name }})
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
fail-fast: false
Expand Down Expand Up @@ -47,9 +47,27 @@ jobs:
- name: Install compiler
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y --no-install-recommends ${{ matrix.package }}
sudo apt-get install -y --no-install-recommends software-properties-common curl gnupg
case "${{ matrix.package }}" in
clang-*)
# 22.04 carries no clang-17/18: add the signed LLVM apt repository,
# pinned to its signing key's fingerprint, and install only clang.
pkg='${{ matrix.package }}'
curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key -o /tmp/llvm.asc
fpr=$(gpg --show-keys --with-colons /tmp/llvm.asc | awk -F: '/^fpr/{print $10; exit}')
test "$fpr" = "6084F3CF814B57C1CF12EFD515CF4D18AF4F7421"
sudo install -d -m 0755 /etc/apt/keyrings
sudo gpg --dearmor -o /etc/apt/keyrings/llvm.gpg /tmp/llvm.asc
echo "deb [signed-by=/etc/apt/keyrings/llvm.gpg] https://apt.llvm.org/jammy/ llvm-toolchain-jammy-${pkg#clang-} main" | \
sudo tee /etc/apt/sources.list.d/llvm.list
sudo apt-get update
sudo apt-get install -y --no-install-recommends "$pkg"
;;
*)
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y --no-install-recommends ${{ matrix.package }}
;;
esac
- name: Run aggregate host test suite
run: make test CC=${{ matrix.cc }}
2 changes: 1 addition & 1 deletion .github/workflows/core-port-split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
core-port-split:
name: core/port split guard + vnet image
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 20
container:
image: ghcr.io/wolfssl/wolfboot-ci-m33mu:v1.15
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
cortex-m33:
name: Cortex-M33 cross compilation
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# type here: schedule / manual dispatch get the full 600s soak; PR pushes and
# merges get the 60s smoke that keeps the required checks fast.
select:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.pick.outputs.matrix }}
steps:
Expand All @@ -38,7 +38,7 @@ jobs:

fuzz:
needs: select
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
wolfcose:
name: wolfCOSE integration (${{ matrix.name }})
needs: resolve
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
fail-fast: false
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
wolfpsa:
name: wolfPSA integration (${{ matrix.name }})
needs: resolve
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/m33mu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
wolfboot-m33mu:
name: wolfBoot signed boot and rollback
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

wolfboot-wolftrust-m33mu:
name: wolfTrust ${{ matrix.guest }} lifecycle (${{ matrix.engine }})
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:

wolfboot-wolftrust-m33mu-scenarios:
name: ${{ matrix.scenario.name }} (${{ matrix.engine }})
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
host-sanitizers:
name: Host tests (ASan and UBSan)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
discover:
name: Discover host suites
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.s.outputs.matrix }}
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
host-unit-tests:
name: ${{ matrix.suite }}
needs: discover
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
fail-fast: false
Expand All @@ -46,7 +46,7 @@ jobs:

psa-ff-conformance:
name: Arm PSA FF conformance
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
Expand All @@ -55,7 +55,7 @@ jobs:

qcbor-interop:
name: CBOR interop (wolfCOSE and QCBOR)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
host-valgrind:
name: Host tests (Valgrind)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand All @@ -24,10 +24,7 @@ jobs:
git submodule update --init --recursive
- name: Install Valgrind
run: |
sudo apt-get update \
-o Dir::Etc::sourcelist="sources.list.d/ubuntu.sources" \
-o Dir::Etc::sourceparts="-" \
-o APT::Get::List-Cleanup="0"
sudo apt-get update
sudo apt-get install -y --no-install-recommends valgrind
- name: Run aggregate host suite under Valgrind
run: make test-valgrind
2 changes: 1 addition & 1 deletion .github/workflows/wiki-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
sync:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Publish docs/ to wiki
Expand Down
Loading