Skip to content

Commit 5fa31ab

Browse files
committed
chore: publish and use artifact for load-aggregator in CI
1 parent 1b28587 commit 5fa31ab

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/actions/build-upload-mithril-artifact/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ runs:
4848
target/release/mithril-signer.exe
4949
target/release/mithril-relay
5050
target/release/mithril-relay.exe
51+
target/release/load-aggregator
5152
if-no-files-found: error

.github/workflows/aggregator-stress-test.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,14 @@ jobs:
5555
- name: Set permissions
5656
shell: bash
5757
working-directory: ./bin
58-
run: chmod +x ./mithril-aggregator
59-
60-
- name: Build the aggregator stress test
61-
working-directory: mithril-test-lab/mithril-end-to-end
62-
run: make build
58+
run: |
59+
chmod +x ./mithril-aggregator
60+
chmod +x ./load-aggregator
6361
6462
- name: Run the aggregator stress test
65-
working-directory: mithril-test-lab/mithril-end-to-end
6663
run: |
67-
./load-aggregator ${{ steps.prepare.outputs.debug_level }} \
68-
--cardano-cli-path script/mock-cardano-cli \
69-
--aggregator-dir ../../bin \
64+
./bin/load-aggregator ${{ steps.prepare.outputs.debug_level }} \
65+
--cardano-cli-path ./mithril-test-lab/mithril-end-to-end/script/mock-cardano-cli \
66+
--aggregator-dir ./bin \
7067
--num-signers=${{ inputs.num_signers }} \
7168
--num-clients=${{ inputs.num_clients }}

.github/workflows/ci.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# We separate the build in 2 steps as we want to avoid side effects with Rust feature unification.
3333
- name: Cargo build - Tooling
3434
shell: bash
35-
run: cargo build --release -p mithril-end-to-end
35+
run: cargo build --release --bin mithril-end-to-end --bin load-aggregator
3636

3737
- name: Build Mithril workspace & publish artifacts
3838
uses: ./.github/workflows/actions/build-upload-mithril-artifact
@@ -58,8 +58,10 @@ jobs:
5858
- name: Publish End-to-end runner (${{ runner.os }}-${{ runner.arch }})
5959
uses: actions/upload-artifact@v4
6060
with:
61-
name: mithril-end-to-end-${{ runner.os }}-${{ runner.arch }}
62-
path: target/release/mithril-end-to-end
61+
name: mithril-tooling-${{ runner.os }}-${{ runner.arch }}
62+
path: |
63+
target/release/mithril-end-to-end
64+
target/release/load-aggregator
6365
if-no-files-found: error
6466

6567
- name: Prepare test lab eras
@@ -302,7 +304,7 @@ jobs:
302304
- name: Download rust test runner
303305
uses: actions/download-artifact@v4
304306
with:
305-
name: mithril-end-to-end-${{ runner.os }}-${{ runner.arch }}
307+
name: mithril-tooling-${{ runner.os }}-${{ runner.arch }}
306308
path: ./
307309

308310
- run: |

0 commit comments

Comments
 (0)