Skip to content

Commit

Permalink
Add architecture-specific builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Dec 18, 2019
1 parent 95c7d7b commit 4df156f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
matrix:
os: [ubuntu-18.04, macOS-10.14, windows-2019]
java: [8, 11, 13]
architecture: [x32, x64]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
Expand All @@ -37,7 +38,7 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
architecture: x64
architecture: ${{ matrix.architecture }}
- name: Build project
run: ./mvnw verify -Pintegration -Pjava${{ matrix.java }}
hotspot-unsupported:
Expand Down Expand Up @@ -76,14 +77,15 @@ jobs:
fail-fast: false
matrix:
java: [8, 11, 13]
architecture: [x32, x64]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Install JDK and build project
run: |
. ./.github/scripts/install-jdk.sh --url "https://api.adoptopenjdk.net/v2/binary/releases/openjdk${{ matrix.java }}?openjdk_impl=openj9&os=linux&arch=x64&release=latest&type=jdk&heap_size=normal"
. ./.github/scripts/install-jdk.sh --url "https://api.adoptopenjdk.net/v2/binary/releases/openjdk${{ matrix.java }}?openjdk_impl=openj9&os=linux&arch=${{ matrix.architecture }}&release=latest&type=jdk&heap_size=normal"
./mvnw verify -Pintegration -Pjava${{ matrix.java }}
coverage:
name: Coverage
Expand Down

0 comments on commit 4df156f

Please sign in to comment.