Skip to content

Commit a730b50

Browse files
committed
Add Java 17
The intention is that 17 run but not have to pass.
1 parent 8493cb3 commit a730b50

1 file changed

Lines changed: 30 additions & 6 deletions

File tree

.github/workflows/ant-regrtest.yml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: ant regrtest 2.7
44

55
on:
66
push:
7-
branches: [ master ]
7+
#branches: [ master, test-java-17-25 ]
88
pull_request:
99
branches: [ master ]
1010

@@ -36,10 +36,34 @@ jobs:
3636
run: ant -noinput -buildfile build.xml regrtest-ci
3737

3838

39-
ant-regrtest-windows-jdk11:
39+
# ant-regrtest-windows-jdk11:
40+
#
41+
# runs-on: windows-latest
42+
# timeout-minutes: 60
43+
#
44+
# steps:
45+
# - run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
46+
#
47+
# # Some tests require exactly-expected line endings
48+
# - run: git config --global core.autocrlf input
49+
#
50+
# - uses: actions/checkout@v4
51+
#
52+
# - name: Set up JDK 11
53+
# uses: actions/setup-java@v4
54+
# with:
55+
# java-version: '11'
56+
# distribution: 'temurin'
57+
#
58+
# - name: Regression test with Ant
59+
# run: ant -noinput -buildfile build.xml regrtest-ci
60+
61+
62+
ant-regrtest-ubuntu-jdk17:
4063

41-
runs-on: windows-latest
42-
timeout-minutes: 60
64+
runs-on: ubuntu-latest
65+
timeout-minutes: 40
66+
continue-on-error: true
4367

4468
steps:
4569
- run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
@@ -49,10 +73,10 @@ jobs:
4973

5074
- uses: actions/checkout@v4
5175

52-
- name: Set up JDK 11
76+
- name: Set up JDK 17
5377
uses: actions/setup-java@v4
5478
with:
55-
java-version: '11'
79+
java-version: '17'
5680
distribution: 'temurin'
5781

5882
- name: Regression test with Ant

0 commit comments

Comments
 (0)