Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make release
- run: ls -lH mainnet-release.wasm
- name: Upload the mainnet-release.wasm artifact
Expand All @@ -34,7 +33,6 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make debug
- run: ls -lH mainnet-debug.wasm
- name: Upload the mainnet-debug.wasm artifact
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Run cargo fmt
run: cargo fmt --all -- --check
clippy:
Expand All @@ -18,7 +17,6 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make etc/eth-contracts/res/EvmErc20.bin
- name: Run Contract cargo clippy
run: cargo clippy --no-default-features --features=contract -- -D warnings
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make etc/eth-contracts/res/EvmErc20.bin
- name: Update toolchain
run: rustup update nightly
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,33 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache lookup for target dir
run: cache-util -restore -path target -key aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}
- name: Restore cache
run: |
cache-util restore cargo_git cargo_registry sccache yarn_cache
cache-util restore aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}:target
- run: make ${{ matrix.net }}net-test-build
- name: Run ${{ matrix.net }}net cargo test
run: cargo test --locked --verbose --features ${{ matrix.net }}net-test
- name: Caching target dir
run: cache-util -save -move -path target -key aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}
- name: Save cache
run: |
cache-util save cargo_git cargo_registry sccache yarn_cache
cache-util msave aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}:target
bully-build:
name: Bully build
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache lookup for target dir
run: cache-util -restore -path target -key aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}
- name: Restore cache
run: |
cache-util restore cargo_git cargo_registry sccache yarn_cache
cache-util restore aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}:target
- run: make mainnet-debug evm-bully=yes
- run: ls -lH mainnet-debug.wasm
- name: Cache target dir
run: cache-util -save -move -path target -key aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}
- name: Save cache
run: |
cache-util save cargo_git cargo_registry sccache yarn_cache
cache-util msave aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}:target
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
Expand Down