From d3323097ac5d3ec80f64f3b24e969a9a5caf9ef8 Mon Sep 17 00:00:00 2001 From: Damien Lachaume <135982616+dlachaume@users.noreply.github.com> Date: Wed, 15 May 2024 16:46:39 +0200 Subject: [PATCH] publish artifact for 'load-aggregator' binary --- .../actions/build-upload-mithril-artifact/action.yml | 1 + .github/workflows/aggregator-stress-test.yml | 12 +++++------- .github/workflows/ci.yml | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/actions/build-upload-mithril-artifact/action.yml b/.github/workflows/actions/build-upload-mithril-artifact/action.yml index 8858e1de413..f42b1eeaca6 100644 --- a/.github/workflows/actions/build-upload-mithril-artifact/action.yml +++ b/.github/workflows/actions/build-upload-mithril-artifact/action.yml @@ -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 diff --git a/.github/workflows/aggregator-stress-test.yml b/.github/workflows/aggregator-stress-test.yml index 710e8fd0f1a..47e15ff0f7b 100644 --- a/.github/workflows/aggregator-stress-test.yml +++ b/.github/workflows/aggregator-stress-test.yml @@ -55,17 +55,15 @@ 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 }} \ + ./bin/load-aggregator ${{ steps.prepare.outputs.debug_level }} \ --cardano-cli-path script/mock-cardano-cli \ - --aggregator-dir ../../bin \ + --aggregator-dir ./bin \ --num-signers=${{ inputs.num_signers }} \ --num-clients=${{ inputs.num_clients }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cfa51ff7f7..5f5cbb1c08a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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