Skip to content

Commit 0adda5b

Browse files
committed
rollback for debug
1 parent c5f1311 commit 0adda5b

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/compilation_on_sgx.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)