File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 dockerfile : Dockerfile.wolfcrypt
4242 - sim : STM32Sim
4343 dockerfile : Dockerfile.wolfcrypt
44+ wolfssl_mount : ' yes'
4445 - sim : PIC32MZSim
4546 dockerfile : Dockerfile.wolfcrypt-direct
47+ wolfssl_mount : ' yes'
4648 timeout-minutes : 40
4749 steps :
4850 - name : Fetch wolfSSL/simulators
5658 set -euo pipefail
5759 docker build -f "/tmp/sims/${{ matrix.sim }}/${{ matrix.dockerfile }}" \
5860 -t sim-wolfcrypt "/tmp/sims/${{ matrix.sim }}"
59- docker run --rm sim-wolfcrypt
61+ # MCU sims mount wolfSSL at run time; secure-element sims clone it inside.
62+ if [ -n "${{ matrix.wolfssl_mount }}" ]; then
63+ git clone -q --depth 1 https://github.com/wolfSSL/wolfssl /tmp/wolfssl-mnt
64+ docker run --rm -v /tmp/wolfssl-mnt:/opt/wolfssl:ro sim-wolfcrypt
65+ else
66+ docker run --rm sim-wolfcrypt
67+ fi
You can’t perform that action at this time.
0 commit comments