@@ -224,6 +224,7 @@ jobs:
224224 needs : [build_iwasm, build_llvm_libraries]
225225 runs-on : ${{ matrix.os }}
226226 strategy :
227+ fail-fast : true
227228 matrix :
228229 # "fast-interp" because of SIMDE
229230 running_mode : ["classic-interp", "aot", "fast-jit"]
@@ -267,15 +268,26 @@ jobs:
267268 if : matrix.running_mode == 'aot' && steps.retrieve_llvm_libs.outputs.cache-hit != 'true'
268269 run : echo "::error::can not get prebuilt llvm libraries" && exit 1
269270
271+ # https://download.01.org/intel-sgx/sgx-linux/2.21/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.21.100.1.bin
270272 - name : install SGX SDK and necessary libraries
271- uses : ./.github/actions/install-linux-sgx
272- with :
273- os : ${{ matrix.os }}
273+ shell : bash
274+ run : |
275+ mkdir -p /opt/intel
276+ cd /opt/intel
277+ wget -O sgx_linux_x64_sdk.bin -progress=dot:giga https://download.01.org/intel-sgx/sgx-linux/2.15/distro/ubuntu20.04-server/sgx_linux_x64_sdk_2.15.100.3.bin
278+ chmod +x sgx_linux_x64_sdk.bin
279+ echo 'yes' | ./sgx_linux_x64_sdk.bin
280+ echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/intel-sgx.list
281+ wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
282+ sudo apt update
283+ sudo apt install -y libsgx-launch libsgx-urts
284+ sudo apt upgrade -y
274285
275286 - name : install for wabt compilation
276287 run : sudo apt update && sudo apt install -y ninja-build
277288
278289 - name : run spec tests
290+ shell : bash
279291 run : |
280292 source /opt/intel/sgxsdk/environment
281293 ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
0 commit comments