Skip to content

Commit

Permalink
Merge pull request #146 from Phala-Network/polkadot-v0.9.26
Browse files Browse the repository at this point in the history
Upgrade to Polkadot 0.9.26
  • Loading branch information
jasl authored Jul 21, 2022
2 parents 096a44b + 14ae48c commit 0de0f32
Show file tree
Hide file tree
Showing 58 changed files with 2,151 additions and 2,195 deletions.
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

0 comments on commit 0de0f32

Please sign in to comment.