This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 57ca435ceee7e1b2ee71b0dd6ffd0bc4415647e0
Author: Andriy Redko <[email protected]>
AuthorDate: Thu Dec 28 17:06:33 2023 -0500

    Add Windows builds to GA workflow (#1326)
    
    (cherry picked from commit b90c3f4cf5b87cd210a90704bbbbb5f97b90779f)
---
 .github/workflows/pull-request-build.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/pull-request-build.yml 
b/.github/workflows/pull-request-build.yml
index 0124ccdad1..f6c8b63956 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
@@ -22,7 +25,11 @@ jobs:
           java-version: '11'
           distribution: 'temurin'
           cache: maven
+      - name: Build with Apache Maven (Windows)
+        if: ${{ matrix.os == 'windows-latest' }} 
+        run: mvn -U clean install -fae -B -Peverything
       - name: Build with Apache Maven
+        if: ${{ matrix.os != 'windows-latest' }} 
         run: mvn -U clean install -Djava.awt.headless=true -fae -B -Peverything
     env: 
        MAVEN_OPTS: "-Xmx1024M"

Reply via email to