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
14 changes: 2 additions & 12 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- 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 @@ -39,12 +34,7 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- 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
30 changes: 5 additions & 25 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,21 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
components: rustfmt
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
components: clippy
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make etc/eth-contracts/res/EvmErc20.bin
- name: Run Contract cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features=contract -- -D warnings
run: cargo clippy --no-default-features --features=contract -- -D warnings
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
run: cargo clippy

contracts:
name: eth-contracts
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make etc/eth-contracts/res/EvmErc20.bin
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features=mainnet -- -D warnings
run: cargo clippy --no-default-features --features=mainnet -- -D warnings
19 changes: 3 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,27 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Prepare target directory
run: |
rm -rf target && mkdir target
ln -s ~/build-cache/aurora-engine/debug/ target/debug
ln -s ~/build-cache/aurora-engine/release/ target/release
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- run: make mainnet-test-build
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --locked --verbose --features mainnet-test
run: cargo test --locked --verbose --features mainnet-test
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: Prepare target directory
run: |
rm -rf target && mkdir target
ln -s ~/build-cache/aurora-engine-bully/debug/ target/debug
ln -s ~/build-cache/aurora-engine-bully/release/ target/release
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- run: make mainnet-debug evm-bully=yes
- run: ls -lH mainnet-debug.wasm
env:
Expand Down