-
Notifications
You must be signed in to change notification settings - Fork 70
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 #250 from chexware/feature/anti-snipe-auctions
Feature: Auction Pallet Improvements
- Loading branch information
Showing
14 changed files
with
492 additions
and
267 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Metaverse Build Benchmarking | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-20.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set-Up | ||
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl | ||
|
||
- name: Install Rustup | ||
run: | | ||
curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
source ~/.cargo/env | ||
rustup default nightly && rustup update | ||
rustup default nightly-2022-05-11 | ||
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11 | ||
- name: Check Rust version | ||
run: rustup show | ||
- name: Check Format | ||
run: cargo fmt --all -- --check | ||
- name: Build Benchmarking | ||
run: | | ||
SKIP_WASM_BUILD=1 cargo build --release --features runtime-benchmarks |
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Metaverse Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-20.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set-Up | ||
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl | ||
|
||
- name: Install Rustup | ||
run: | | ||
curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
source ~/.cargo/env | ||
rustup default nightly && rustup update | ||
rustup default nightly-2022-05-11 | ||
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11 | ||
- name: Check Rust version | ||
run: rustup show | ||
- name: Run all test cases | ||
run: | | ||
SKIP_WASM_BUILD= cargo test --all --features with-pioneer-runtime |
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
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
Oops, something went wrong.