spec_test_on_nuttx.yml: Record more logs (#3670)

Upload artifacts including nuttx config/image and wasm/aot modules
for post-mortem investigations.
This commit is contained in:
YAMAMOTO Takashi 2024-07-27 16:38:24 +09:00 committed by GitHub
parent 84b5221517
commit 3b56e7c607
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -324,3 +324,18 @@ jobs:
run: |
cd apps/interpreters/wamr/wamr/tests/wamr-test-suites
./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}}
- name: pack the log
if: always()
run: |
mkdir log
cp $PWD/nuttx/.config log/dot-config
cp ${{ steps.build_firmware_path.outputs.firmware }} log
tar -C apps/interpreters/wamr/wamr/tests/wamr-test-suites/workspace -cvzf log/report.tgz report
- name: upload the log
if: always()
uses: actions/upload-artifact@v4
with:
name: spec-test-log-${{ github.run_id }}-${{ strategy.job-index }}-${{ matrix.target_config.target }}
path: log