Skip to content

Commit

Permalink
Merge branch 'master' into oty-ci-readme-example
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp authored Aug 8, 2024
2 parents 121d8d7 + 51fa1c8 commit a88c3e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,33 @@ concurrency:

jobs:
ci:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Rust compilation prerequisites
- name: Rust compilation prerequisites (Ubuntu)
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y \
protobuf-compiler
rustup target add wasm32-unknown-unknown
rustup component add rustfmt clippy rust-src
- name: Install Cargo (MacOS)
if: contains(matrix.os, 'macos')
run: |
curl https://sh.rustup.rs -sSf -y | sh
brew install protobuf
rustup target add wasm32-unknown-unknown --toolchain stable-aarch64-apple-darwin
rustup component add rust-src --toolchain stable-aarch64-apple-darwin
# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
- name: Free Disk Space (Ubuntu)
if: contains(matrix.os, 'ubuntu')
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
with:
android: true # This alone is a 12 GB save.
Expand Down Expand Up @@ -62,7 +75,7 @@ jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
- name: Free Disk Space (Ubuntu)
Expand Down
4 changes: 2 additions & 2 deletions zombienet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[relaychain]
default_command = "polkadot"
chain = "dev"
chain = "rococo-local"

[[relaychain.nodes]]
name = "alice"
Expand All @@ -11,6 +11,6 @@ ws_port = 9944
id = 1000

[parachains.collator]
name = "alice"
name = "bob"
ws_port = 9988
command = "parachain-template-node"

0 comments on commit a88c3e2

Please sign in to comment.