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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]