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

[ci] Use parity-large runners instead ubuntu-latest-16-cores #1821

Merged
merged 10 commits into from
Oct 9, 2024
13 changes: 8 additions & 5 deletions .github/workflows/actions/use-nodes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ description: Downloads and configures the substrate and polkadot binaries built
runs:
using: composite
steps:
- name: Install curl
shell: bash
run: sudo apt-get update && sudo apt-get install -y curl gcc make clang cmake

- name: Download substrate-node binary
id: download-substrate-binary
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 # v6
Expand Down Expand Up @@ -32,9 +36,8 @@ runs:
chmod u+x ./polkadot-prepare-worker
./substrate-node --version
./polkadot --version
mkdir -p ~/.local/bin
mv ./substrate-node ~/.local/bin
mv ./polkadot ~/.local/bin
mv ./polkadot-execute-worker ~/.local/bin
mv ./polkadot-prepare-worker ~/.local/bin
mv ./substrate-node /usr/local/bin
mv ./polkadot /usr/local/bin
mv ./polkadot-execute-worker /usr/local/bin
mv ./polkadot-prepare-worker /usr/local/bin
rm ./polkadot.tar.gz
2 changes: 1 addition & 1 deletion .github/workflows/build-nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
tests:
name: Build Substrate and Polkadot Binaries
runs-on: ubuntu-latest-16-cores
runs-on: parity-large
steps:
- name: checkout polkadot-sdk
uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

clippy:
name: Cargo clippy
runs-on: ubuntu-latest
runs-on: parity-large
needs: [fmt, machete]
steps:
- name: Checkout sources
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:

check:
name: Cargo check
runs-on: ubuntu-latest
runs-on: parity-large
needs: [fmt, machete]
steps:
- name: Checkout sources
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:

docs:
name: Check documentation and run doc tests
runs-on: ubuntu-latest
runs-on: parity-large
needs: [fmt, machete]
steps:
- name: Checkout sources
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:

tests:
name: "Test (Native)"
runs-on: ubuntu-latest-16-cores
runs-on: parity-large
needs: [clippy, wasm_clippy, check, wasm_check, docs]
timeout-minutes: 30
steps:
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:

unstable_backend_tests:
name: "Test chainhead backend"
runs-on: ubuntu-latest-16-cores
runs-on: parity-large
needs: [clippy, wasm_clippy, check, wasm_check, docs]
timeout-minutes: 30
steps:
Expand Down
Loading