Add timeout to CI WASI tests and update WASI testsuite commit (#1997)

- Add timeout to CI WASI tests to avoid keeping CI node busy in case of
  deadlock in thread tests
- Update wasi-testsuite commit used, after fix in wasi-threads proposal
  https://github.com/WebAssembly/wasi-threads/pull/40
This commit is contained in:
Enrico Loparco
2023-03-03 09:30:59 +01:00
committed by GitHub
parent 1be202fad8
commit 1c44411a97
2 changed files with 3 additions and 1 deletions

View File

@ -527,6 +527,7 @@ jobs:
run: sudo apt-get update && sudo apt install -y jq
- name: run tests
timeout-minutes: 10
run: ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
working-directory: ./tests/wamr-test-suites
@ -542,6 +543,7 @@ jobs:
sudo apt install -y g++-multilib lib32gcc-9-dev
- name: run tests x86_32
timeout-minutes: 10
if: env.TEST_ON_X86_32 == 'true'
run: ./test_wamr.sh ${{ env.X86_32_TARGET_TEST_OPTIONS }} ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
working-directory: ./tests/wamr-test-suites