forked from jython/jython
-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (40 loc) · 1.25 KB
/
ant-regrtest.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Run ant regrtest on Jython 2.7 (GitHub action)
name: ant regrtest 2.7
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
ant-regrtest-ubuntu-jdk8:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
# Some tests require exactly-expected line endings
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Regression test with Ant
run: ant -noinput -buildfile build.xml regrtest-ci
ant-regrtest-windows-jdk11:
runs-on: windows-latest
timeout-minutes: 60
steps:
- run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
# Some tests require exactly-expected line endings
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Regression test with Ant
run: ant -noinput -buildfile build.xml regrtest-ci