mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-22 03:18:01 +00:00
Update ci.yml
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Rust compilation prerequisites (Ubuntu)
|
- name: Rust compilation prerequisites (Ubuntu)
|
||||||
if: contains("${{ matrix.os }}", "ubuntu")
|
if: contains(matrix.os, "ubuntu")
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y \
|
sudo apt install -y \
|
||||||
@@ -30,12 +30,12 @@ jobs:
|
|||||||
rustup component add rustfmt clippy rust-src
|
rustup component add rustfmt clippy rust-src
|
||||||
|
|
||||||
- name: Install Cargo (MacOS)
|
- name: Install Cargo (MacOS)
|
||||||
if: contains("${{ matrix.os }}", "macos")
|
if: contains(matrix.os, "macos")
|
||||||
run: curl https://sh.rustup.rs -sSf | sh
|
run: curl https://sh.rustup.rs -sSf | sh
|
||||||
|
|
||||||
# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
|
# 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)
|
- name: Free Disk Space (Ubuntu)
|
||||||
if: contains("${{ matrix.os }}", "ubuntu")
|
if: contains(matrix.os, "ubuntu")
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
|
||||||
with:
|
with:
|
||||||
android: true # This alone is a 12 GB save.
|
android: true # This alone is a 12 GB save.
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: brew install docker
|
- run: brew install docker
|
||||||
if: contains("${{ matrix.os }}", "macos")
|
if: contains(matrix.os, "macos")
|
||||||
|
|
||||||
# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
|
# 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)
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
|||||||
Reference in New Issue
Block a user