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

reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/main by this push:
     new b90c3f4cf5 Add Windows builds to GA workflow (#1326)
b90c3f4cf5 is described below

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

    Add Windows builds to GA workflow (#1326)
---
 .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 9521de1a8a..55750a0165 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: '17'
           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