Skip to content

Commit

Permalink
chore: publish and use artifact for load-aggregator in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed May 15, 2024
1 parent 1b28587 commit 7d70136
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ runs:
target/release/mithril-signer.exe
target/release/mithril-relay
target/release/mithril-relay.exe
target/release/load-aggregator
if-no-files-found: error
15 changes: 6 additions & 9 deletions .github/workflows/aggregator-stress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,14 @@ jobs:
- name: Set permissions
shell: bash
working-directory: ./bin
run: chmod +x ./mithril-aggregator

- name: Build the aggregator stress test
working-directory: mithril-test-lab/mithril-end-to-end
run: make build
run: |
chmod +x ./mithril-aggregator
chmod +x ./load-aggregator
- name: Run the aggregator stress test
working-directory: mithril-test-lab/mithril-end-to-end
run: |
./load-aggregator ${{ steps.prepare.outputs.debug_level }} \
--cardano-cli-path script/mock-cardano-cli \
--aggregator-dir ../../bin \
./bin/load-aggregator ${{ steps.prepare.outputs.debug_level }} \
--cardano-cli-path ./mithril-test-lab/mithril-end-to-end/script/mock-cardano-cli \
--aggregator-dir ./bin \
--num-signers=${{ inputs.num_signers }} \
--num-clients=${{ inputs.num_clients }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Build Mithril workspace & publish artifacts
uses: ./.github/workflows/actions/build-upload-mithril-artifact
with:
binaries-build-args: --bin mithril-aggregator --bin mithril-signer --bin mithril-client --bin mithril-relay --features bundle_openssl,full
binaries-build-args: --bin mithril-aggregator --bin mithril-signer --bin mithril-client --bin mithril-relay --bin load-aggregator --features bundle_openssl,full
libraries-build-args: --package mithril-stm --package mithril-client --features full,unstable

- name: Build Debian packages
Expand Down

0 comments on commit 7d70136

Please sign in to comment.