You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2025/06/21 11:22:20 UTC
Re: [PR] add GitHub action [xerces-j]
elharo commented on code in PR #1:
URL: https://github.com/apache/xerces-j/pull/1#discussion_r2160009824
##########
.github/workflows/ant.yml:
##########
@@ -0,0 +1,67 @@
+name: Java CI
+
+on:
+ push:
+ branches: [main]
+ paths-ignore:
+ - '**.md'
+ pull_request:
+ branches: [main]
+ types:
+ - opened
+ - reopened
+ - synchronize
+ paths-ignore:
+ - '**.md'
+ workflow_dispatch:
+
+jobs:
+ build:
+ name: Build with Java ${{ matrix.jdk }}
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ jdk: ['8', '11', '17', '21']
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK ${{ matrix.jdk }}
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: ${{ matrix.jdk }}
+
+ # use Ant directly to ensure targets work as expected
+ - name: Ant Build (target jars)
+ run: ant -noinput -buildfile build.xml jars
+
+ - name: Ant Build (target dtdjars)
+ run: ant -noinput -buildfile build.xml dtdjars
+
+ # test fails on JDK 8 due to java.lang.NoSuchFieldError
Review Comment:
I suspect we need to fix this ASAP.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org