Skip to content

Commit a73964e

Browse files
committed
wip(ci): add self-hosted runner for IVC SNARK e2e test
1 parent 069b058 commit a73964e

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,11 @@ jobs:
332332
manifest-path: ${{ matrix.manifest-path }}
333333

334334
e2e:
335-
runs-on: ubuntu-24.04
335+
name: e2e (${{ matrix.scenario.name }})
336+
runs-on: ${{ matrix.scenario.runs_on }}
336337
needs: [build-ubuntu]
337338
# GitHub-hosted runners cap job execution at 6h; any higher value is not honored.
339+
# The IvcSnark scenario runs on a self-hosted 16-core runner, which has no 6h cap.
338340
timeout-minutes: 360
339341
strategy:
340342
fail-fast: false
@@ -345,11 +347,13 @@ jobs:
345347
cardano_node_version: ["11.0.1"]
346348
hard_fork_latest_era_at_epoch: [0]
347349
run_id: ["#1"]
348-
extra_args:
349-
[
350-
"--aggregate-signature-type=Concatenation full --check-client-cli-snapshot-converter",
351-
"--aggregate-signature-type IvcSnark --cardano-slot-length 1.0 --cardano-epoch-length 2400 --mithril-run-interval 240000 minimal --signed-entity-type CardanoStakeDistribution",
352-
]
350+
scenario:
351+
- name: "concatenation-full"
352+
runs_on: "ubuntu-24.04"
353+
extra_args: "--aggregate-signature-type=Concatenation full --check-client-cli-snapshot-converter"
354+
- name: "ivc-snark-minimal"
355+
runs_on: ["self-hosted", "c2d-16", "ivc-snark"]
356+
extra_args: "--aggregate-signature-type IvcSnark --cardano-slot-length 1.0 --cardano-epoch-length 1200 --mithril-run-interval 60000 minimal --signed-entity-type CardanoStakeDistribution"
353357

354358
steps:
355359
- name: Checkout sources
@@ -393,7 +397,7 @@ jobs:
393397
--devnet-scripts-directory=./mithril-test-lab/cardano-devnet \\
394398
--mithril-era=${{ matrix.era }} \\
395399
--cardano-node-version ${{ matrix.cardano_node_version }} \\
396-
--cardano-hard-fork-latest-era-at-epoch ${{ matrix.hard_fork_latest_era_at_epoch }} ${{ matrix.extra_args }} \\
400+
--cardano-hard-fork-latest-era-at-epoch ${{ matrix.hard_fork_latest_era_at_epoch }} ${{ matrix.scenario.extra_args }} \\
397401
EOF
398402
# If there is a next era, we need to specify it with '--mithril-next-era'
399403
if [[ "${{ matrix.next_era }}" != "" ]]; then

0 commit comments

Comments
 (0)