From e4e27c4cb9ce926135cfd780eaf778a330141405 Mon Sep 17 00:00:00 2001 From: Vojtech Horky Date: Tue, 5 Nov 2024 10:50:15 +0100 Subject: [PATCH] CI: pass around JMH JAR too --- .github/workflows/main.yml | 41 ++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3add6461..9d15c2d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -75,13 +75,20 @@ jobs: shell: bash run: tools/ci/check-jmh.sh - - name: Upload final JAR + - name: Upload the main JAR uses: actions/upload-artifact@v4 with: - name: the-jar + name: main-jar path: target/renaissance-*.jar retention-days: 1 + - name: Upload JMH JAR + uses: actions/upload-artifact@v4 + with: + name: jmh-jar + path: renaissance-jmh/target/renaissance-*.jar + retention-days: 1 + run-linux: needs: build @@ -112,12 +119,18 @@ jobs: shell: bash run: tools/ci/pre-show-env.sh - - name: Fetch pre-build JAR + - name: Fetch pre-built main JAR uses: actions/download-artifact@v4 with: - name: the-jar + name: main-jar path: target + - name: Fetch pre-built JMH JAR + uses: actions/download-artifact@v4 + with: + name: jmh-jar + path: renaissance-jmh/target + - name: Run the suite shell: bash run: tools/ci/bench-base.sh @@ -158,12 +171,18 @@ jobs: shell: bash run: tools/ci/pre-show-env.sh - - name: Fetch pre-build JAR + - name: Fetch pre-built main JAR uses: actions/download-artifact@v4 with: - name: the-jar + name: main-jar path: target + - name: Fetch pre-built JMH JAR + uses: actions/download-artifact@v4 + with: + name: jmh-jar + path: renaissance-jmh/target + - name: Run the suite shell: bash run: tools/ci/bench-base.sh @@ -203,12 +222,18 @@ jobs: shell: bash run: tools/ci/pre-show-env.sh - - name: Fetch pre-build JAR + - name: Fetch pre-built main JAR uses: actions/download-artifact@v4 with: - name: the-jar + name: main-jar path: target + - name: Fetch pre-built JMH JAR + uses: actions/download-artifact@v4 + with: + name: jmh-jar + path: renaissance-jmh/target + - name: Run the suite shell: bash run: tools/ci/bench-base.sh