File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 wolfhsm_simulator_test :
12+ # Matrix strategy runs all steps below for each config specified.
13+ # This allows testing multiple configurations without duplicating the workflow.
14+ strategy :
15+ matrix :
16+ config :
17+ - name : " Standard wolfHSM"
18+ file : " config/examples/sim-wolfHSM.config"
19+ - name : " wolfHSM ML-DSA"
20+ file : " config/examples/sim-wolfHSM-mldsa.config"
21+ fail-fast : false
22+
1223 runs-on : ubuntu-latest
1324 steps :
1425 - uses : actions/checkout@v3
2536 run : |
2637 make distclean
2738
28- - name : Select config (wolfHSM simulator )
39+ - name : Select config (${{ matrix.config.name }} )
2940 run : |
30- cp config/examples/sim-wolfHSM .config .config
41+ cp ${{ matrix .config.file }} .config
3142
3243 - name : Build tools
3344 run : |
6273
6374 # Kill the server if it is still running
6475 - name : Kill POSIX TCP server
76+ if : always()
6577 run : |
66- kill $TCP_SERVER_PID
78+ kill $TCP_SERVER_PID || true
You can’t perform that action at this time.
0 commit comments