Skip to content

Commit

Permalink
CI: pass around JMH JAR too
Browse files Browse the repository at this point in the history
  • Loading branch information
vhotspur committed Nov 5, 2024
1 parent 3bacbc7 commit e4e27c4
Showing 1 changed file with 33 additions and 8 deletions.
41 changes: 33 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e4e27c4

Please sign in to comment.