Skip to content

Commit

Permalink
ci(gh-actions): Set more specific labels on self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarKirov committed Sep 26, 2024
1 parent 9034844 commit 1aab03e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
MAINNET_RPC: '${{ secrets.MAINNET_RPC }}'
jobs:
Linter:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -30,7 +30,7 @@ jobs:
run: nix develop -c yarn format:check

Build_All:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -44,7 +44,7 @@ jobs:
run: nix develop -c yarn check:build

# EOS_Relayer_Test:
# runs-on: self-hosted
# runs-on: [self-hosted, nixos, X64]
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -58,7 +58,7 @@ jobs:
# run: nix develop -c yarn test './tests/eosLightClient/test-verifier-in-EOS-relay.ts'

Solidity_Validators_Accumulator_Test:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -72,7 +72,7 @@ jobs:
run: nix develop -c make test-validator-accumulator

# Nim_Light_Client_Compiled_with_Emsctipten_Tests:
# runs-on: self-hosted
# runs-on: [self-hosted, nixos, X64]
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -86,7 +86,7 @@ jobs:
# run: nix develop -c yarn test-emcc './tests/test-nim-to-wasm.ts' 'test-nim-light-client.ts'

Nim_Light_Client_Clang_Test:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -100,7 +100,7 @@ jobs:
run: nix develop -c yarn test './tests/test-nim-to-wasm.ts' 'test-nim-light-client.ts'

Nim_Groth16_Verifier_Tests:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -115,7 +115,7 @@ jobs:

# Disable temporary till we find way to have docker in local setup
# Run_Light_Client_In_Cosmos_Test:
# runs-on: self-hosted
# runs-on: [self-hosted, nixos, X64]
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -129,7 +129,7 @@ jobs:
# run: nix develop -c yarn test './tests/cosmosLightClient/test-nim-light-client-in-cosmos.ts'

# Run_Verifier_In_Cosmos_Test:
# runs-on: self-hosted
# runs-on: [self-hosted, nixos, X64]
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -143,7 +143,7 @@ jobs:
# run: nix develop -c yarn test './tests/cosmosLightClient/test-verifier-in-cosmos.ts'

# Run_Verifier_In_Cosmos_Relay_Tests:
# runs-on: self-hosted
# runs-on: [self-hosted, nixos, X64]
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -157,7 +157,7 @@ jobs:
# run: nix develop -c yarn test './tests/cosmosLightClient/test-verifier-in-cosmos-relay.ts'

Run_Circom_Tests:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -172,7 +172,7 @@ jobs:
run: nix develop -c make test-circom-circuits

Run_Plonky2_Tests:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -187,7 +187,7 @@ jobs:
run: nix develop -c make test-plonky2-circuits

Run_Verify_Given_Proof:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -201,7 +201,7 @@ jobs:
run: nix develop -c nim c -r 'tests/verify_proof/verify_given_proof_test.nim'

Run_Verify_Given_Proof_ffJS:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -215,7 +215,7 @@ jobs:
run: nix develop -c yarn test ./tests/verify_proof/verify_given_proof_test.ts

Solidity_Verifier_Tests:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -229,7 +229,7 @@ jobs:
run: nix develop -c make evm-simulation

OneShot_Syncing_Simulation:
runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -243,7 +243,7 @@ jobs:
run: nix develop -c make one-shot-syncing-simulation

Bash_Scripts_Building_Circom_Circuits:
runs-on: self-hosted
runs-on: [self-hosted, nixos, x86-64-v3]
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
- OneShot_Syncing_Simulation
- Run_Plonky2_Tests

runs-on: self-hosted
runs-on: [self-hosted, nixos, X64]

steps:
- name: Check if any job failed or was cancelled
Expand Down

0 comments on commit 1aab03e

Please sign in to comment.