taoflow hotfix #4840
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Try Runtime | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: try-runtime-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check-devnet: | |
| name: check devnet | |
| if: github.base_ref != 'main' | |
| runs-on: [self-hosted, type-ccx33] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update | |
| sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config unzip | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Utilize Shared Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: "try-runtime" | |
| - name: Run Try Runtime Checks | |
| uses: "paritytech/[email protected]" | |
| with: | |
| runtime-package: "node-subtensor-runtime" | |
| node-uri: "wss://dev.chain.opentensor.ai:443" | |
| checks: "all" | |
| extra-args: "--disable-spec-version-check --no-weight-warnings" | |
| check-testnet: | |
| name: check testnet | |
| if: github.base_ref != 'main' | |
| runs-on: [self-hosted, type-ccx33] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update | |
| sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config unzip | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Utilize Shared Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: "try-runtime" | |
| - name: Run Try Runtime Checks | |
| uses: "paritytech/[email protected]" | |
| with: | |
| runtime-package: "node-subtensor-runtime" | |
| node-uri: "wss://archive.dev.opentensor.ai:8443" | |
| checks: "all" | |
| extra-args: "--disable-spec-version-check --no-weight-warnings" | |
| check-finney: | |
| name: check finney | |
| # if: github.base_ref == 'testnet' || github.base_ref == 'devnet' || github.base_ref == 'main' | |
| runs-on: [self-hosted, type-ccx33] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update | |
| sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config unzip | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Utilize Shared Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: try-runtime | |
| cache-on-failure: true | |
| - name: Run Try Runtime Checks | |
| uses: "paritytech/[email protected]" | |
| with: | |
| runtime-package: "node-subtensor-runtime" | |
| node-uri: "wss://archive.dev.opentensor.ai:443" | |
| checks: "all" | |
| extra-args: "--disable-spec-version-check --no-weight-warnings" |