-
Notifications
You must be signed in to change notification settings - Fork 230
45 lines (32 loc) · 1.09 KB
/
Copy pathjava-versions-regrtest.yml
File metadata and controls
45 lines (32 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Run ant regrtest on Jython 2.7 on Java versions (GitHub action)
# We expect this to fail (at the time of writing) and the purpose
# is to tell us on which OSes and versions of Java that happens.
name: Java versions regrtest 2.7
# Only run manually as it takes quite a lot of cpu
on:
workflow_dispatch:
permissions:
contents: read
jobs:
java-versions-regrtest:
strategy:
max-parallel: 2
matrix:
version: [17, 25]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 40
continue-on-error: true
steps:
- run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
- run: echo "Java ${{ matrix.version }} on ${{ matrix.os }}."
# Some tests require exactly-expected line endings
- run: git config --global core.autocrlf input
- uses: actions/checkout@v6
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.version }}
distribution: 'temurin'
- name: Regression test with Ant
run: ant -noinput -buildfile build.xml regrtest-ci