File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ timestamp :
7+ description : ' Latest hardfork unix seconds'
8+ required : true
9+ jobs :
10+ test :
11+ runs-on : ubuntu-22.04
12+ env :
13+ SGX_MODE : SW
14+ steps :
15+ - uses : actions/checkout@v4
16+ with :
17+ submodules : recursive
18+ fetch-depth : 0
19+ - name : Clean up unnecessary packages
20+ run : |
21+ sudo rm -rf "/usr/share/dotnet" || true
22+ sudo rm -rf "/usr/local/lib/android" || true
23+ sudo rm -rf "/usr/local/share/boost" || true
24+ - uses : actions/setup-go@v5
25+ with :
26+ go-version : ' 1.22'
27+ - uses : dtolnay/rust-toolchain@nightly
28+ - uses : datachainlab/rust-cache@allow_registry_src_caching
29+ with :
30+ workspaces : |
31+ ./lcp
32+ ./enclave
33+ cache-directories : |
34+ ~/.cargo/registry/src/**/librocksdb-sys-*
35+ - name : Install SGX SDK
36+ run : |
37+ sudo bash ./lcp/.github/scripts/install_sgx_sdk.sh /opt
38+ - name : Run E2E test
39+ run : |
40+ docker system prune -a --volumes -f
41+ source /opt/sgxsdk/environment
42+ make prepare-contracts
43+ make build-images
44+ make E2E_OPTIONS="--mock_zkdcap" e2e-test
45+ env :
46+ LATEST_HF_TIMESTAMP : ${{ github.event.inputs.timestamp }}
You can’t perform that action at this time.
0 commit comments