- Timestamp:
- 2021-03-30T10:27:15+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/ant.yml
r17690 r17691 75 75 java: [8, 11, 16, 17-ea] 76 76 os: [ubuntu-latest, macos-latest, windows-latest] 77 headless: ["true", "false"]78 77 exclude: 79 78 - java: 8 … … 81 80 - java: 11 82 81 os: macos-latest 83 - headless: "false" 84 os: macos-latest 85 - headless: "false" 86 os: windows-latest 87 name: Java ${{ matrix.java }} on ${{ matrix.os }} with headless=${{ matrix.headless }} 82 name: Java ${{ matrix.java }} on ${{ matrix.os }} 88 83 steps: 89 84 - name: Checkout … … 143 138 144 139 - name: Upload jar 145 # Only run on matrix.headless to avoid double jars. They should be the same jars. 146 if: ${{ always() && matrix.headless == 'true' }} 140 if: ${{ always() }} 147 141 id: upload-jar 148 142 env: … … 155 149 asset_content_type: application/java-archive 156 150 157 - name: Test with Ant , headless ${{ matrix.headless }}151 - name: Test with Ant 158 152 if: ${{ needs.createrelease.outputs.josm_prerelease }} 159 153 run: | 160 154 ANT="${{ env.ANT_HOME }}/bin/ant -DnoJavaFX=true test-unit-hardfail" 161 if [ "${{ matrix.headless }}" == "true" ]; then 162 $ANT -Dtest.headless=true 163 else 164 xvfb-run $ANT -Dtest.headless=false 165 fi 155 $ANT -Dtest.headless=true 166 156 167 157 - name: Dump errors if failed … … 173 163 uses: actions/upload-artifact@v2 174 164 with: 175 name: Ant reports for JOSM ${{ needs.createrelease.outputs.josm_revision }} on java ${{ matrix.java }} on ${{ matrix.os }} with headless=${{ matrix.headless }}165 name: Ant reports for JOSM ${{ needs.createrelease.outputs.josm_revision }} on java ${{ matrix.java }} on ${{ matrix.os }} 176 166 path: test/report/*.txt 177 167
Note:
See TracChangeset
for help on using the changeset viewer.