@@ -12,15 +12,16 @@ concurrency:
1212 cancel-in-progress : true
1313# END OF COMMON SECTION
1414
15- # Build the SE050 software simulator (https://github.com/LinuxJedi/SE050Sim),
16- # build wolfSSL against its NXP Plug&Trust SDK + simulator bridge, and run the
17- # wolfCrypt SE050 test binary against the simulator TCP server.
15+ # Build the SE050 software simulator (https://github.com/wolfSSL/simulators,
16+ # SE050Sim/ subdirectory), build wolfSSL against its NXP Plug&Trust SDK +
17+ # simulator bridge, and run the wolfCrypt SE050 test binary against the
18+ # simulator TCP server.
1819#
1920# The simulator's own Dockerfile (Dockerfile.wolfcrypt) clones wolfSSL master.
2021# We patch it to COPY the PR checkout instead so CI reflects the PR's source.
2122
2223env :
23- SE050SIM_REF : 8fda9212c306fbee0dcd66f2dd52b13f65f13e00
24+ SIMULATORS_REF : 745893640e21a15b7df8c70567c522953aba2f2c
2425
2526jobs :
2627 se050_sim :
@@ -36,14 +37,14 @@ jobs:
3637
3738 - name : Clone SE050 simulator
3839 run : |
39- git clone https://github.com/LinuxJedi/SE050Sim se050sim
40- cd se050sim && git checkout "$SE050SIM_REF "
40+ git clone https://github.com/wolfSSL/simulators simulators
41+ cd simulators && git checkout "$SIMULATORS_REF "
4142
4243 - name : Stage PR wolfSSL into simulator build context
43- run : mv wolfssl-src se050sim /wolfssl
44+ run : mv wolfssl-src simulators/SE050Sim /wolfssl
4445
4546 - name : Patch Dockerfile to use PR wolfSSL instead of upstream master
46- working-directory : se050sim
47+ working-directory : simulators/SE050Sim
4748 run : |
4849 sed -i 's|^RUN git clone --depth 1 https://github.com/wolfSSL/wolfssl.git /app/wolfssl$|COPY wolfssl /app/wolfssl|' Dockerfile.wolfcrypt
4950 # Fail fast if the pattern drifted upstream -- better a clear error
5657 - name : Build wolfCrypt-SE050 test image
5758 uses : docker/build-push-action@v5
5859 with :
59- context : se050sim
60- file : se050sim /Dockerfile.wolfcrypt
60+ context : simulators/SE050Sim
61+ file : simulators/SE050Sim /Dockerfile.wolfcrypt
6162 push : false
6263 load : true
6364 tags : wolfssl-se050-sim:ci
0 commit comments