Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Polkadot 0.9.26 #146

Merged
merged 20 commits into from
Jul 21, 2022
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
30 changes: 24 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: [ main ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always

Expand All @@ -18,22 +22,36 @@ jobs:
uses: easimon/maximize-build-space@master # https://github.com/easimon/maximize-build-space
with:
root-reserve-mb: 4096
temp-reserve-mb: 4096
temp-reserve-mb: 1024
swap-size-mb: 8192
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get -y install cmake pkg-config libssl-dev git build-essential llvm clang libclang-dev
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-07-11
override: true
target: wasm32-unknown-unknown
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build for Cargo test
run: cargo test --no-run --verbose --workspace
uses: actions-rs/cargo@v1
with:
command: test
args: --no-run --all-targets --workspace
- name: Show disk usage
if: always()
run: df -h
- name: Run Cargo test
run: cargo test --verbose --workspace
uses: actions-rs/cargo@v1
with:
command: test
args: --all-targets --workspace
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ CMakeLists.txt

# Substrate
.wasm-binaries
/.cargo
.cargo
/config.toml

# Object files
*.o
Expand Down
Loading