|
17 | 17 | # UNIX BUILDS |
18 | 18 | build-unix: |
19 | 19 | runs-on: ubuntu-latest |
| 20 | + timeout-minutes: 130 |
20 | 21 | strategy: |
21 | 22 | fail-fast: false |
22 | 23 | matrix: |
@@ -75,20 +76,24 @@ jobs: |
75 | 76 | maven-version: 3.9.9 |
76 | 77 | # Install dependencies |
77 | 78 | - name: Install ci.ant and ci.common |
| 79 | + timeout-minutes: 15 |
78 | 80 | run: | |
79 | 81 | ./mvnw -V clean install -f ci.ant --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -DskipTests |
80 | 82 | ./mvnw -V clean install -f ci.common --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -DskipTests |
81 | 83 | # Run tests that require a minimum of Java 17 or later |
82 | 84 | - name: Run tests that require a minimum of Java 17 or later |
83 | 85 | if: ${{ matrix.java != '8' && matrix.java != '11'}} |
| 86 | + timeout-minutes: 20 |
84 | 87 | run: ./mvnw -V verify --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -Ponline-its -D"invoker.streamLogsOnFailures"=true -D"invoker.test"="*setup*,*springboot-3-*,*compile-jsp-source-17-*" -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" |
85 | 88 | # Run tests |
86 | 89 | - name: Run tests |
| 90 | + timeout-minutes: 90 |
87 | 91 | run: ./mvnw -V verify --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -Ponline-its -D"invoker.streamLogsOnFailures"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" |
88 | 92 |
|
89 | 93 | # WINDOWS BUILD |
90 | 94 | build-windows: |
91 | 95 | runs-on: windows-latest |
| 96 | + timeout-minutes: 170 |
92 | 97 | strategy: |
93 | 98 | fail-fast: false |
94 | 99 | matrix: |
@@ -139,17 +144,21 @@ jobs: |
139 | 144 | # Install ci.ant |
140 | 145 | - name: Install ci.ant |
141 | 146 | working-directory: ${{github.workspace}}/ci.ant |
| 147 | + timeout-minutes: 15 |
142 | 148 | run: .\mvnw.cmd -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -DskipTests |
143 | 149 | # Install ci.common |
144 | 150 | - name: Install ci.common |
145 | 151 | working-directory: ${{github.workspace}}/ci.common |
| 152 | + timeout-minutes: 15 |
146 | 153 | run: .\mvnw.cmd -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -DskipTests |
147 | 154 | # Run tests that require a minimum of Java 17 or later |
148 | 155 | - name: Run tests that require a minimum of Java 17 or later |
149 | 156 | working-directory: ${{github.workspace}} |
150 | 157 | if: ${{ matrix.java != '8' && matrix.java != '11'}} |
| 158 | + timeout-minutes: 45 |
151 | 159 | run: .\mvnw.cmd -V verify -Ponline-its --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -D"invoker.streamLogsOnFailures"=true -D"invoker.test"="*setup*,*springboot-3-*,*compile-jsp-source-17-*" -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" |
152 | 160 | # Run tests |
153 | 161 | - name: Run tests |
154 | 162 | working-directory: ${{github.workspace}} |
| 163 | + timeout-minutes: 90 |
155 | 164 | run: .\mvnw.cmd -V verify -Ponline-its --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -D"invoker.streamLogsOnFailures"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" |
0 commit comments