-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from datachainlab/ci
Add e2e test to CI Signed-off-by: Jun Kimura <[email protected]>
- Loading branch information
Showing
1 changed file
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
relayer: | ||
e2e-test: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
SGX_MODE: SW | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
- run: make yrly | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
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 |