You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2023/12/01 08:26:05 UTC

(xalan-java) branch xalan-j_2_7_1_maint updated: chore: add Windows and Java 17 to CI matrix

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

jkesselm pushed a commit to branch xalan-j_2_7_1_maint
in repository https://gitbox.apache.org/repos/asf/xalan-java.git


The following commit(s) were added to refs/heads/xalan-j_2_7_1_maint by this push:
     new 3569dda1 chore: add Windows and Java 17 to CI matrix
     new 82c914dd Merge pull request #136 from vlsi/upd_ci
3569dda1 is described below

commit 3569dda18301aaa3bbea6d639ae845a09f8fb77a
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Thu Nov 30 10:30:53 2023 +0300

    chore: add Windows and Java 17 to CI matrix
---
 .github/workflows/main.yml | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a1173639..32c64894 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,7 +12,6 @@ permissions:
   contents: read
 
 # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners
-# GitHub Actions does not support Docker, PostgreSQL server on Windows, macOS :(
 
 concurrency:
   # On master/release, we don't want any jobs cancelled so the sha is used to name the group
@@ -23,16 +22,25 @@ concurrency:
 
 jobs:
   build:
-    name: 'Java 8'
-    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        os:
+          - ubuntu-latest
+          - windows-latest
+        java-version:
+          - 8
+          - 17
+    name: 'Java ${{ matrix.java-version }}, ${{ matrix.os }}'
+    runs-on: ${{ matrix.os }}
     steps:
     - name: 'Checkout xalan-java'
       uses: actions/checkout@v3
-    - name: 'Set up JDK 8'
+    - name: 'Set up Java ${{ matrix.java-version }}'
       uses: actions/setup-java@v2
       with:
         distribution: zulu
-        java-version: 8
+        java-version: ${{ matrix.java-version }}
     - name: 'Build Xalan jars'
       run: |
         ant jar


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org