mirror of https://github.com/wolfSSL/wolfBoot.git
100 lines
2.4 KiB
YAML
100 lines
2.4 KiB
YAML
name: Renode Automated multi memory configurations
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master', 'main', 'release/**' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
jobs:
|
|
renode_automated_smallstack:
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 25
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Select config
|
|
run: |
|
|
cp config/examples/nrf52840.config .config && make include/target.h
|
|
|
|
##### SMALL STACK tests
|
|
|
|
# SIGN=NONE TEST
|
|
- name: Renode Tests SIGN=NONE WOLFBOOT_SMALL_STACK=1
|
|
run: ./tools/renode/docker-test.sh "SIGN=NONE WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# ECC256 TEST
|
|
- name: Renode Tests ECC256
|
|
run: ./tools/renode/docker-test.sh "SIGN=ECC256 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# ECC384 TEST
|
|
- name: Renode Tests ECC384
|
|
run: ./tools/renode/docker-test.sh "SIGN=ECC384 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
# ECC521 TEST
|
|
- name: Renode Tests ECC521
|
|
run: ./tools/renode/docker-test.sh "SIGN=ECC521 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# ED25519 TEST
|
|
- name: Renode Tests ED25519
|
|
run: ./tools/renode/docker-test.sh "SIGN=ED25519 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# ED448 TEST
|
|
- name: Renode Tests ED448
|
|
run: ./tools/renode/docker-test.sh "SIGN=ED448 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# RSA2048 TEST
|
|
- name: Renode Tests RSA2048
|
|
run: ./tools/renode/docker-test.sh "SIGN=RSA2048 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# RSA3072 TEST
|
|
- name: Renode Tests RSA3072
|
|
run: ./tools/renode/docker-test.sh "SIGN=RSA3072 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# RSA4096 TEST
|
|
- name: Renode Tests RSA4096
|
|
run: ./tools/renode/docker-test.sh "SIGN=RSA4096 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# RSAPSS2048 TEST
|
|
- name: Renode Tests RSAPSS2048
|
|
run: ./tools/renode/docker-test.sh "SIGN=RSAPSS2048 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# RSAPSS3072 TEST
|
|
- name: Renode Tests RSAPSS3072
|
|
run: ./tools/renode/docker-test.sh "SIGN=RSAPSS3072 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
# RSAPSS4096 TEST
|
|
- name: Renode Tests RSAPSS4096
|
|
run: ./tools/renode/docker-test.sh "SIGN=RSAPSS4096 WOLFBOOT_SMALL_STACK=1"
|
|
|
|
|
|
- name: Upload Output Dir
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Renode Test Results
|
|
path: test_results/
|