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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c02685  Broaden GitHub build matrix to include both Windows and Linux.
9c02685 is described below

commit 9c026855678b238bd227c670496d405b0a00bf79
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Mar 17 15:57:41 2021 -0400

    Broaden GitHub build matrix to include both Windows and Linux.
---
 .github/workflows/maven.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index daf31fe..163e3f9 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -20,16 +20,21 @@ on: [push, pull_request]
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.os }}
     continue-on-error: ${{ matrix.experimental }}
     strategy:
-      fail-fast: false
       matrix:
+        os: [ubuntu-latest, windows-latest]
         java: [ 8, 11, 16 ]
         experimental: [false]
         include:
           - java: 17-ea
+            os: ubuntu-latest
+            experimental: true        
+          - java: 17-ea
+            os: windows-latest
             experimental: true        
+      fail-fast: false
         
     steps:
     - uses: actions/checkout@v2.3.4
@@ -44,4 +49,4 @@ jobs:
       with:
         java-version: ${{ matrix.java }}
     - name: Build with Maven
-      run: mvn -V --file pom.xml --no-transfer-progress -e
+      run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false

Reply via email to