Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Actually use pinned nightly version when building runtimes (#465)
Browse files Browse the repository at this point in the history
* try to fix build

* use pinned nightly for in stable
  • Loading branch information
svyatonik authored Oct 27, 2020
1 parent d4f01c5 commit 03ef763
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
volumes:
- /cache:/cache
env:
WASM_BUILD_TOOLCHAIN: nightly-2020-10-04
RUST_BACKTRACE: full
SCCACHE_REDIS: redis://172.17.0.1/0
SCCACHE_IDLE_TIMEOUT: 0
Expand All @@ -45,11 +46,9 @@ jobs:
fetch-depth: 5
submodules: recursive
- name: Install Toolchain
if: matrix.toolchain == 'nightly-2020-10-04'
run: rustup toolchain add ${{ matrix.toolchain }}
run: rustup toolchain add nightly-2020-10-04
- name: Add WASM Utilities
if: matrix.toolchain == 'nightly-2020-10-04'
run: rustup target add wasm32-unknown-unknown --toolchain ${{ matrix.toolchain }}
run: rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-04
- name: Configure CARGO_HOME & CARGO_TARGET_DIR
run: ./scripts/ci-cache.sh "${{ github.head_ref }}" "${{ matrix.toolchain }}"
- name: Cache checking
Expand Down
2 changes: 1 addition & 1 deletion bin/millau/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sp-trie = { version = "2.0", default-features = false }
sp-version = { version = "2.0", default-features = false }

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion bin/rialto/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sp-version = { version = "2.0", default-features = false }
libsecp256k1 = { version = "0.3.4", features = ["hmac"] }

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }

[features]
default = ["std"]
Expand Down

0 comments on commit 03ef763

Please sign in to comment.