File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ jobs:
229229 running_mode : ["classic-interp", "aot", "fast-jit"]
230230 test_option :
231231 [$DEFAULT_TEST_OPTIONS, $SIMD_TEST_OPTIONS, $XIP_TEST_OPTIONS]
232- os : [ubuntu-22 .04]
232+ os : [ubuntu-20 .04]
233233 exclude :
234234 # classic-interp, fast-interp and fast-jit don't support simd
235235 - running_mode : " classic-interp"
@@ -267,10 +267,17 @@ jobs:
267267 if : matrix.running_mode == 'aot' && steps.retrieve_llvm_libs.outputs.cache-hit != 'true'
268268 run : echo "::error::can not get prebuilt llvm libraries" && exit 1
269269
270+ # https://download.01.org/intel-sgx/sgx-linux/2.21/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.21.100.1.bin
270271 - name : install SGX SDK and necessary libraries
271- uses : ./.github/actions/install-linux-sgx
272- with :
273- os : ${{ matrix.os }}
272+ run : |
273+ mkdir -p /opt/intel
274+ cd /opt/intel
275+ wget -O sgx_linux_x64_sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.15/distro/ubuntu20.04-server/sgx_linux_x64_sdk_2.15.100.3.bin chmod +x sgx_linux_x64_sdk.bin
276+ echo 'yes' | ./sgx_linux_x64_sdk.bin
277+ 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
278+ wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
279+ sudo apt update
280+ sudo apt install -y libsgx-launch libsgx-urts
274281
275282 - name : install for wabt compilation
276283 run : sudo apt update && sudo apt install -y ninja-build
You can’t perform that action at this time.
0 commit comments