Skip to content

Commit 763dca4

Browse files
committed
Run GH verification build on Windows too
Fixes #1080
1 parent dc4aa02 commit 763dca4

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-latest, macos-latest]
18+
os: [ubuntu-latest, windows-latest, macos-latest]
1919
runs-on: ${{ matrix.os }}
2020
timeout-minutes: 45
2121

@@ -43,7 +43,7 @@ jobs:
4343
- name: Build m2e-core
4444
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
4545
with:
46-
run: mvn clean verify -Pits -Dtycho.p2.baselineMode=failCommon --batch-mode
46+
run: mvn clean verify --batch-mode -Pits -Dtycho.p2.baselineMode=failCommon -Dtycho.surefire.deleteWorkDir=true
4747
- name: Upload Test Results
4848
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
4949
with:

m2e-parent/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,18 @@
240240
</plugins>
241241
</build>
242242
</profile>
243+
<profile>
244+
<id>windows</id>
245+
<activation>
246+
<os>
247+
<family>windows</family>
248+
</os>
249+
</activation>
250+
<properties>
251+
<!-- The Tycho baselinging does not yet work well on Windows. Temporarily skip it until it is fixed.-->
252+
<tycho.baseline.skip>true</tycho.baseline.skip>
253+
</properties>
254+
</profile>
243255
</profiles>
244256

245257
<developers>

0 commit comments

Comments
 (0)