|
59 | 59 |
|
60 | 60 | - name: Unit test debug version
|
61 | 61 | if: ${{ !cancelled() && !failure() }}
|
62 |
| - run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-debug/src/test_main" |
| 62 | + run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-debug/src/test_main > unittest_debug.log 2>&1" |
| 63 | + |
| 64 | + - name: Collect infinity unit test debug output |
| 65 | + run: cat unittest_debug.log 2>/dev/null || true |
63 | 66 |
|
64 | 67 | - name: Install pysdk
|
65 | 68 | if: ${{ !cancelled() && !failure() }}
|
@@ -113,7 +116,6 @@ jobs:
|
113 | 116 |
|
114 | 117 | - name: Collect infinity debug output
|
115 | 118 | # GitHub Actions interprets output lines starting with "Error" as error messages, and it automatically sets the step status to failed when such lines are detected.
|
116 |
| - if: ${{ !cancelled() }} # always run this step even if previous steps failed |
117 | 119 | run: cat debug.log 2>/dev/null || true
|
118 | 120 |
|
119 | 121 | release_tests:
|
@@ -154,7 +156,10 @@ jobs:
|
154 | 156 |
|
155 | 157 | - name: Unit test release version
|
156 | 158 | if: ${{ !cancelled() && !failure() }}
|
157 |
| - run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-release/src/test_main" |
| 159 | + run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-release/src/test_main > unittest_release.log 2>&1" |
| 160 | + |
| 161 | + - name: Collect infinity unit test release output |
| 162 | + run: cat unittest_release.log 2>/dev/null || true |
158 | 163 |
|
159 | 164 | - name: Install pysdk
|
160 | 165 | if: ${{ !cancelled() && !failure() }}
|
@@ -207,7 +212,6 @@ jobs:
|
207 | 212 |
|
208 | 213 | - name: Collect infinity release output
|
209 | 214 | # GitHub Actions interprets output lines starting with "Error" as error messages, and it automatically sets the step status to failed when such lines are detected.
|
210 |
| - if: ${{ !cancelled() }} # always run this step even if previous steps failed |
211 | 215 | run: cat release.log 2>/dev/null || true
|
212 | 216 |
|
213 | 217 | - name: Prepare sift dataset
|
|
0 commit comments