Skip to content

Commit

Permalink
Run benchmarks in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
Friendseeker committed Jan 1, 2024
1 parent 8723269 commit f39a377
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- os: ubuntu-latest
java: 21
jobtype: 4
- os: ubuntu-latest
java: 21
jobtype: 5
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -46,18 +49,18 @@ jobs:
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 -Dsbt.supershell=never "crossTestBridges" "zincRoot/test" "zincScripted/Test/run"
- name: Build and test (Scalac) (3)
- name: Build and test (3)
if: ${{ matrix.jobtype == 3 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Scalac.*" "runBenchmarks"
- name: Build and test (Shapeless) (3)
if: ${{ matrix.jobtype == 3 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "runBenchmarks"
sbt -v -Dfile.encoding=UTF-8 scalafmtCheckAll scalafmtSbtCheck
- name: Build and test (4)
if: ${{ matrix.jobtype == 4 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 scalafmtCheckAll scalafmtSbtCheck
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Scalac.*" "runBenchmarks"
- name: Build and test (5)
if: ${{ matrix.jobtype == 5 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "runBenchmarks"

0 comments on commit f39a377

Please sign in to comment.