Skip to content

Commit 8d9c8e8

Browse files
committed
enable sgx fast-jit spec test
1 parent aedc342 commit 8d9c8e8

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/compilation_on_sgx.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -135,31 +135,30 @@ jobs:
135135
make
136136
working-directory: product-mini/platforms/${{ matrix.platform }}
137137

138-
build_iwasm_and_run_samples:
138+
run_samples_file:
139139
needs: [build_iwasm, build_llvm_libraries]
140140
runs-on: ${{ matrix.os }}
141141
strategy:
142142
matrix:
143-
os: [ubuntu-20.04]
144-
wasi_sdk_release:
145-
[
146-
"https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz",
147-
]
148-
wabt_release:
149-
[
150-
"https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz",
151-
]
152143
iwasm_make_options_run_mode: [
153144
# Running modes supported
154145
$AOT_BUILD_OPTIONS,
155146
$CLASSIC_INTERP_BUILD_OPTIONS,
156147
$FAST_INTERP_BUILD_OPTIONS,
157-
$FAST_JIT_BUILD_OPTIONS,
158148
# Running modes unsupported
159149
#$LLVM_LAZY_JIT_BUILD_OPTIONS,
160150
#$LLVM_EAGER_JIT_BUILD_OPTIONS,
161151
#$MULTI_TIER_JIT_BUILD_OPTIONS,
162152
]
153+
os: [ubuntu-20.04]
154+
wasi_sdk_release:
155+
[
156+
"https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz",
157+
]
158+
wabt_release:
159+
[
160+
"https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz",
161+
]
163162
iwasm_make_options_feature: [
164163
# Features to be tested: IPFS
165164
"-DWAMR_BUILD_SGX_IPFS=1",

tests/wamr-test-suites/test_wamr.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ function spec_test()
430430

431431
# sgx only enable in interp mode and aot mode
432432
if [[ ${SGX_OPT} == "--sgx" ]];then
433-
if [[ $1 == 'classic-interp' || $1 == 'fast-interp' || $1 == 'aot' ]]; then
433+
if [[ $1 == 'classic-interp' || $1 == 'fast-interp' || $1 == 'aot' || $1 == 'fast-jit' ]]; then
434434
ARGS_FOR_SPEC_TEST+="-x "
435435
fi
436436
fi

0 commit comments

Comments
 (0)