Skip to content

Commit

Permalink
7903351: JMH: Update pre-integration testing workflows
Browse files Browse the repository at this point in the history
Reviewed-by: ecaspole
  • Loading branch information
shipilev committed Oct 20, 2022
1 parent 0c68719 commit e5caeb1
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/pre-integration.yml
Expand Up @@ -16,24 +16,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8, 11, 17, 19-ea]
os: [ubuntu-20.04, windows-2022, macos-11]
java: [8, 11, 17, 19, 20-ea]
os: [ubuntu-22.04, windows-2022, macos-11]
profile: [default, reflection, asm]
fail-fast: false
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}, ${{ matrix.profile }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '.github/workflows/pre-integration.yml') }}
restore-keys: ${{ runner.os }}-maven
cache: maven
- name: Run build with tests
run: mvn clean install -P ${{ matrix.profile }} -B --file pom.xml
if: (runner.os == 'Linux') || (matrix.profile == 'default')
Expand Down

0 comments on commit e5caeb1

Please sign in to comment.