Merge pull request #754 from danielinux/fix-renode-test #2934
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Renode Automated multi memory configurations | |
| on: | |
| push: | |
| branches: [ 'master', 'main', 'release/**' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| permissions: | |
| contents: read | |
| packages: read | |
| jobs: | |
| renode_automated_noasm_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 + NO_ASM tests | |
| # ECC256 TEST | |
| - name: Renode Tests ECC256 | |
| run: ./tools/renode/docker-test.sh "SIGN=ECC256 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # ECC384 TEST | |
| - name: Renode Tests ECC384 | |
| run: ./tools/renode/docker-test.sh "SIGN=ECC384 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # ECC521 TEST | |
| - name: Renode Tests ECC521 | |
| run: ./tools/renode/docker-test.sh "SIGN=ECC521 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # RSA2048 TEST | |
| - name: Renode Tests RSA2048 | |
| run: ./tools/renode/docker-test.sh "SIGN=RSA2048 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # RSA3072 TEST | |
| - name: Renode Tests RSA3072 | |
| run: ./tools/renode/docker-test.sh "SIGN=RSA3072 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # RSA4096 TEST | |
| - name: Renode Tests RSA4096 | |
| run: ./tools/renode/docker-test.sh "SIGN=RSA4096 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # RSAPSS2048 TEST | |
| - name: Renode Tests RSAPSS2048 | |
| run: ./tools/renode/docker-test.sh "SIGN=RSAPSS2048 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # RSAPSS3072 TEST | |
| - name: Renode Tests RSAPSS3072 | |
| run: ./tools/renode/docker-test.sh "SIGN=RSAPSS3072 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| # RSAPSS4096 TEST | |
| - name: Renode Tests RSAPSS4096 | |
| run: ./tools/renode/docker-test.sh "SIGN=RSAPSS4096 WOLFBOOT_SMALL_STACK=1 NO_ASM=1" | |
| - name: Upload Output Dir | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Renode Test Results | |
| path: test_results/ |