Skip to content

Commit

Permalink
build fix WIP(12)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdok committed Apr 4, 2024
1 parent 7c262f5 commit 73cb229
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,11 @@ jobs:
find "$(pwd)" -name \*.wasm
- name: Install Quote library SDK
run: |
sudo apt-get update
sudo apt-get install
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo add-apt-repository "deb https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main"
sudo apt-get update
DCAP_VERSION=1.17.100.4-focal1
PSW_VERSION=2.20.100.4-focal1
sudo apt-get update
sudo apt-get install -y \
libsgx-aesm-launch-plugin=$PSW_VERSION \
libsgx-enclave-common=$PSW_VERSION \
Expand All @@ -191,6 +189,26 @@ jobs:
go test -v -tags "secretcli" ./x/registration/internal/...
- name: Test x/compute
run: |
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo add-apt-repository "deb https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main"
DCAP_VERSION=1.17.100.4-focal1
PSW_VERSION=2.20.100.4-focal1
sudo apt-get update
sudo apt-get install -y \
libsgx-aesm-launch-plugin=$PSW_VERSION \
libsgx-enclave-common=$PSW_VERSION \
libsgx-epid=$PSW_VERSION \
libsgx-launch=$PSW_VERSION \
libsgx-quote-ex=$PSW_VERSION \
libsgx-uae-service=$PSW_VERSION \
libsgx-qe3-logic=$DCAP_VERSION \
libsgx-pce-logic=$DCAP_VERSION \
libsgx-aesm-ecdsa-plugin=$PSW_VERSION \
libsgx-aesm-pce-plugin=$PSW_VERSION \
libsgx-dcap-ql=$DCAP_VERSION \
libsgx-dcap-quote-verify=$DCAP_VERSION \
libsgx-dcap-default-qpl=$DCAP_VERSION \
libsgx-urts=$PSW_VERSION
source "$HOME/.sgxsdk/sgxsdk/environment"
export SGX_MODE=SW
cp librust_cosmwasm_enclave.signed.so ./x/compute/internal/keeper
Expand Down

0 comments on commit 73cb229

Please sign in to comment.