|
35 | 35 | - name: Run ARCHIE
|
36 | 36 | run: cd examples/stm32; ./run.sh; cd ../riscv64; ./run.sh; cd ../stm32-timeout-wfi; ./run.sh
|
37 | 37 |
|
| 38 | + - name: Upload test artifacts |
| 39 | + uses: actions/upload-artifact@v4 |
| 40 | + with: |
| 41 | + name: test-artifacts |
| 42 | + path: | |
| 43 | + examples/riscv64/*.txt |
| 44 | + examples/riscv64/*.hdf5 |
| 45 | + examples/stm32/*.txt |
| 46 | + examples/stm32/*.hdf5 |
| 47 | + examples/stm32-timeout-wfi/*.txt |
| 48 | + examples/stm32-timeout-wfi/*.hdf5 |
| 49 | +
|
38 | 50 | build_with_script:
|
39 | 51 | name: Test build.sh Script
|
40 | 52 | runs-on: ubuntu-latest
|
|
54 | 66 | 1
|
55 | 67 | END
|
56 | 68 | ) | bash build.sh
|
| 69 | +
|
| 70 | + verify_stm32: |
| 71 | + name: Verify results of stm32 experiment |
| 72 | + needs: build |
| 73 | + runs-on: ubuntu-latest |
| 74 | + |
| 75 | + steps: |
| 76 | + - name: Download test artifacts |
| 77 | + uses: actions/download-artifact@v4 |
| 78 | + with: |
| 79 | + name: test-artifacts |
| 80 | + path : . |
| 81 | + |
| 82 | + - name: Verify stm32 results |
| 83 | + run: | |
| 84 | + cat stm32/log_-2.txt | grep -A8 800006a | tail -8 | grep 'Reached end point' |
| 85 | + cat stm32/log_-1.txt | grep -A8 8000056 | tail -8 | grep 'Reached end point' |
| 86 | + cat stm32/log_0.txt | grep -A8 8000070 | tail -8 | grep 'Reached end point' |
| 87 | + cat stm32/log_1.txt | grep -A8 8000070 | tail -8 | grep 'Reached end point' |
| 88 | + cat stm32/log_2.txt | grep -A8 8000070 | tail -8 | grep 'Reached end point' |
| 89 | +
|
| 90 | + verify_stm32-timeout-wfi: |
| 91 | + name: Verify results of stm32-timeout-wfi experiment |
| 92 | + needs: build |
| 93 | + runs-on: ubuntu-latest |
| 94 | + |
| 95 | + steps: |
| 96 | + - name: Download test artifacts |
| 97 | + uses: actions/download-artifact@v4 |
| 98 | + with: |
| 99 | + name: test-artifacts |
| 100 | + path : . |
| 101 | + |
| 102 | + - name: Verify stm32-timeout-wfi results |
| 103 | + run: | |
| 104 | + cat stm32-timeout-wfi/log_-2.txt | grep -A8 800006a | tail -8 | grep 'Reached end point' |
| 105 | + cat stm32-timeout-wfi/log_-1.txt | grep -A8 8000056 | tail -8 | grep 'Reached end point' |
| 106 | + cat stm32-timeout-wfi/log.txt | grep 'Experiment 0 ran into timeout' |
| 107 | + cat stm32-timeout-wfi/log.txt | grep 'Experiment 1 ran into timeout' |
| 108 | + cat stm32-timeout-wfi/log.txt | grep 'Experiment 2 ran into timeout' |
| 109 | +
|
| 110 | + verify_riscv64: |
| 111 | + name: Verify results of riscv64 experiment |
| 112 | + needs: build |
| 113 | + runs-on: ubuntu-latest |
| 114 | + |
| 115 | + steps: |
| 116 | + - name: Download test artifacts |
| 117 | + uses: actions/download-artifact@v4 |
| 118 | + with: |
| 119 | + name: test-artifacts |
| 120 | + path : . |
| 121 | + |
| 122 | + - name: Verify riscv64 results |
| 123 | + run: | |
| 124 | + cat riscv64/log_-2.txt | grep -A8 80000014 | tail -8 | grep 'Reached end point' |
| 125 | + cat riscv64/log_-1.txt | grep -A8 8000002a | tail -8 | grep 'Reached end point' |
| 126 | + cat riscv64/log_0.txt | grep -A8 8000003c| tail -8 | grep 'Reached end point' |
| 127 | + cat riscv64/log_1.txt | grep -A8 8000003c | tail -8 | grep 'Reached end point' |
| 128 | + cat riscv64/log_2.txt | grep -A8 8000003c | tail -8 | grep 'Reached end point' |
0 commit comments