-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (33 loc) · 1.03 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: test
on:
push:
branches:
- main
pull_request:
jobs:
e2e-test:
runs-on: ubuntu-22.04
env:
SGX_MODE: SW
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: dtolnay/rust-toolchain@nightly
- uses: datachainlab/rust-cache@allow_registry_src_caching
with:
workspaces: |
./lcp
./lcp/enclave
cache-directories: |
~/.cargo/registry/src/**/librocksdb-sys-*
- run: curl -LO https://download.01.org/intel-sgx/sgx-linux/2.19/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.19.100.3.bin
- run: chmod +x ./sgx_linux_x64_sdk_2.19.100.3.bin
- run: echo -e 'no\n/opt' | ./sgx_linux_x64_sdk_2.19.100.3.bin
- run: make tendermint-images
- run: source /opt/sgxsdk/environment && make e2e-test
- run: source /opt/sgxsdk/environment && make E2E_OPTIONS=--operators_enabled e2e-test