File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Run ant regrtest on Jython 2.7 on Java versions (GitHub action)
2+
3+ # We expect this to fail (at the time of writing) and the purpose
4+ # is to tell us on which OSes and versions of Java that happens.
5+
6+ name : Java versions regrtest 2.7
7+
8+ # Only run manually as it takes quite a lot of cpu
9+ on :
10+ workflow_dispatch
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+
17+ ant-regrtest :
18+ strategy :
19+ max-parallel : 2
20+ matrix :
21+ version : [17, 25]
22+ os : [ubuntu-latest, windows-latest]
23+
24+ runs-on : ${{ matrix.os }}
25+ timeout-minutes : 40
26+
27+ steps :
28+ - run : echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
29+ - run : echo "Java ${{ matrix.version }} on ${{ matrix.os }}."
30+
31+ # Some tests require exactly-expected line endings
32+ - run : git config --global core.autocrlf input
33+
34+ - uses : actions/checkout@v4
35+
36+ - name : Set up JDK
37+ uses : actions/setup-java@v4
38+ with :
39+ java-version : ${{ matrix.version }}
40+ distribution : ' temurin'
41+
42+ - name : Regression test with Ant
43+ run : ant -noinput -buildfile build.xml regrtest-ci
44+
You can’t perform that action at this time.
0 commit comments