Update spec test to latest commit (#3293)
- Update spec test cases to commit bc76fd79cfe61033d7f4ad4a7e8fc4f996dc5ba8 on Apr. 3 - Update wabt binary to 1.0.34 to support newer spec cases - Add comparison between table declared elem type and table elem segment value type - Add a function to decide whether to execute test cases in a running mode - Keep using interpreter in GC spec because wat2wasm in wabt can't compile if.wast w/o errors - Re-factoring threads spec test case processing - Since wabt 1.0.34 release isn't compatible with ubuntu 20.04, compile it from source code - Disable CI to run aot multi-module temporarily, and will enable it in another PR
This commit is contained in:
18
.github/workflows/compilation_on_sgx.yml
vendored
18
.github/workflows/compilation_on_sgx.yml
vendored
@ -269,23 +269,24 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
running_mode: ["classic-interp", "fast-interp", "aot", "fast-jit"]
|
||||
test_option: ["-x -p -s spec -b -P", "-x -p -s spec -S -b -P", "-x -p -s spec -X -b -P"]
|
||||
# FIXME: use binary release(adding -b) instead of building from source after upgrading to 22.04
|
||||
test_option: ["-x -p -s spec -P", "-x -p -s spec -S -P", "-x -p -s spec -X -P"]
|
||||
llvm_cache_key: ["${{ needs.build_llvm_libraries.outputs.cache_key }}"]
|
||||
exclude:
|
||||
# classic-interp, fast-interp and fast-jit don't support simd
|
||||
- running_mode: "classic-interp"
|
||||
test_option: "-x -p -s spec -S -b -P"
|
||||
test_option: "-x -p -s spec -S -P"
|
||||
- running_mode: "fast-interp"
|
||||
test_option: "-x -p -s spec -S -b -P"
|
||||
test_option: "-x -p -s spec -S -P"
|
||||
- running_mode: "fast-jit"
|
||||
test_option: "-x -p -s spec -S -b -P"
|
||||
test_option: "-x -p -s spec -S -P"
|
||||
# classic-interp, fast-interp and fast jit don't support XIP
|
||||
- running_mode: "classic-interp"
|
||||
test_option: "-x -p -s spec -X -b -P"
|
||||
test_option: "-x -p -s spec -X -P"
|
||||
- running_mode: "fast-interp"
|
||||
test_option: "-x -p -s spec -X -b -P"
|
||||
test_option: "-x -p -s spec -X -P"
|
||||
- running_mode: "fast-jit"
|
||||
test_option: "-x -p -s spec -X -b -P"
|
||||
test_option: "-x -p -s spec -X -P"
|
||||
|
||||
steps:
|
||||
- name: checkout
|
||||
@ -320,6 +321,9 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt install -y libsgx-launch libsgx-urts
|
||||
|
||||
- name: install for wabt compilation
|
||||
run: sudo apt update && sudo apt install -y ninja-build
|
||||
|
||||
- name: run spec tests
|
||||
run: |
|
||||
source /opt/intel/sgxsdk/environment
|
||||
|
||||
Reference in New Issue
Block a user