Support Fermi HF #194
Workflow file for this run
This file contains hidden or 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
| name: test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| SGX_MODE: SW | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Clean up unnecessary packages | |
| run: | | |
| sudo rm -rf "/usr/share/dotnet" || true | |
| sudo rm -rf "/usr/local/share/boost" || true | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - uses: dtolnay/rust-toolchain@nightly | |
| - uses: datachainlab/rust-cache@allow_registry_src_caching | |
| with: | |
| workspaces: | | |
| ./lcp | |
| ./enclave | |
| cache-directories: | | |
| ~/.cargo/registry/src/**/librocksdb-sys-* | |
| - name: Install SGX SDK | |
| run: | | |
| sudo bash ./lcp/.github/scripts/install_sgx_sdk.sh /opt | |
| - name: Run E2E test | |
| run: | | |
| docker system prune -a --volumes -f | |
| source /opt/sgxsdk/environment | |
| make prepare-contracts | |
| make build-images | |
| make E2E_OPTIONS="--mock_zkdcap" e2e-test |