Skip to content

Commit 2625653

Browse files
committed
rollback for debug
1 parent c5f1311 commit 2625653

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/compilation_on_sgx.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,16 @@ jobs:
268268
run: echo "::error::can not get prebuilt llvm libraries" && exit 1
269269

270270
- name: install SGX SDK and necessary libraries
271-
uses: ./.github/actions/install-linux-sgx
272-
with:
273-
os: ${{ matrix.os }}
271+
run: |
272+
mkdir -p /opt/intel
273+
cd /opt/intel
274+
wget -O sgx_linux_x64_sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.21/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.21.100.1.bin
275+
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 focal 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)