Skip to content

Commit 3b56e7c

Browse files
authored
spec_test_on_nuttx.yml: Record more logs (#3670)
Upload artifacts including nuttx config/image and wasm/aot modules for post-mortem investigations.
1 parent 84b5221 commit 3b56e7c

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/spec_test_on_nuttx.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,3 +324,18 @@ jobs:
324324
run: |
325325
cd apps/interpreters/wamr/wamr/tests/wamr-test-suites
326326
./test_wamr.sh -s spec ${{ matrix.wamr_test_option.mode }} -m ${{ matrix.target_config.target }} -b -Q -F ${{ steps.build_firmware_path.outputs.firmware }} ${{ matrix.wamr_feature_option.mode}}
327+
328+
- name: pack the log
329+
if: always()
330+
run: |
331+
mkdir log
332+
cp $PWD/nuttx/.config log/dot-config
333+
cp ${{ steps.build_firmware_path.outputs.firmware }} log
334+
tar -C apps/interpreters/wamr/wamr/tests/wamr-test-suites/workspace -cvzf log/report.tgz report
335+
336+
- name: upload the log
337+
if: always()
338+
uses: actions/upload-artifact@v4
339+
with:
340+
name: spec-test-log-${{ github.run_id }}-${{ strategy.job-index }}-${{ matrix.target_config.target }}
341+
path: log

0 commit comments

Comments
 (0)