-
Notifications
You must be signed in to change notification settings - Fork 20
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 #645 from galacticcouncil/polkadot-v1.1.0
chore: upgrade to polkadot-v1.1.0
- Loading branch information
Showing
115 changed files
with
11,071 additions
and
31,452 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 |
---|---|---|
|
@@ -22,30 +22,17 @@ jobs: | |
- run: git describe --tags --abbrev=0 --always | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
- name: Install misc dependencies | ||
run: sudo rm /var/lib/dpkg/lock-frontend && sudo rm /var/lib/dpkg/lock && sudo apt-get install -y protobuf-compiler m4 | ||
- name: Install Rust | ||
uses: codota/toolchain@00a8bf2bdcfe93aefd70422d3dec07337959d3a4 | ||
with: | ||
profile: minimal | ||
- name: Install clippy | ||
run: rustup component add clippy | ||
- name: Run clippy | ||
run: make clippy | ||
continue-on-error: false | ||
- name: Install tarpaulin | ||
run: cargo install cargo-tarpaulin | ||
- name: Test && Generate code coverage | ||
run: make coverage | ||
- name: Upload to codecov.io | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
fail_ci_if_error: false | ||
- name: Test | ||
run: make test-release | ||
- name: Build runtime | ||
run: cargo build --release --locked | ||
working-directory: runtime/basilisk | ||
- name: Build node | ||
run: cargo build --release --locked | ||
- name: Release | ||
run: make release | ||
- name: Version info | ||
run: ./target/release/basilisk --version | ||
- name: Upload release binary | ||
|
@@ -57,45 +44,16 @@ jobs: | |
uses: actions/upload-artifact@v2 | ||
with: | ||
name: basilisk_runtime.compact.compressed.wasm | ||
path: target/release/wbuild/basilisk-runtime/basilisk_runtime.compact.compressed.wasm | ||
|
||
test-inclusion: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/download-artifact@v2 | ||
name: Download basilisk binary | ||
with: | ||
name: basilisk | ||
path: target/release | ||
- uses: robinraju/release-downloader@v1 | ||
name: Download relay chain binary | ||
with: | ||
repository: paritytech/polkadot | ||
tag: ${{ env.RELAY_CHAIN_VERSION }} | ||
fileName: polkadot | ||
out-file-path: ../polkadot/target/release | ||
- run: chmod +x ./basilisk && ./basilisk --version | ||
name: Basilisk version | ||
working-directory: target/release | ||
- run: chmod +x ./polkadot && ./polkadot --version | ||
name: Polkadot version | ||
working-directory: ../polkadot/target/release | ||
- uses: actions/setup-node@v2 | ||
name: Setup node.js | ||
with: | ||
node-version: '14' | ||
check-latest: true | ||
- run: npm install && npm start | ||
name: Launch rococo local & wait for inclusion | ||
working-directory: scripts/wait-for-inclusion | ||
path: target/release/basilisk_runtime.compact.compressed.wasm | ||
- name: Clippy | ||
run: make clippy-all | ||
- name: Test benchmarks | ||
run: make test-benchmarks | ||
|
||
version-check: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
outputs: | ||
runtime-upgraded: ${{ steps.check-runtime.outputs.upgraded }} | ||
steps: | ||
|
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.