From 254fe5c01fd40d62a4d7e2cc4d73275d277e72dc Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Fri, 30 Jun 2023 14:40:19 -0400 Subject: [PATCH] Add Windows builds to GA workflow --- .github/workflows/pull-request-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 2d188909ccb..c01b990383e 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -9,7 +9,10 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest] permissions: contents: read pull-requests: read @@ -23,6 +26,6 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Apache Maven - run: mvn -U clean install -Djava.awt.headless=true -fae -B -Peverything + run: mvn -U clean install -fae -B -Peverything env: MAVEN_OPTS: "-Xmx1024M"