Skip to content

Commit 64e54d0

Browse files
committed
Run GH verification build on Windows too
Fixes #1080
1 parent a4387fc commit 64e54d0

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.github/workflows/maven.yml

Lines changed: 6 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

@@ -45,7 +45,11 @@ jobs:
4545
- name: Build m2e-core
4646
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
4747
with:
48-
run: mvn clean verify --batch-mode -Pits -Dtycho.p2.baselineMode=failCommon -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
48+
run: >-
49+
mvn clean verify --batch-mode -Pits
50+
-Dtycho.p2.baselineMode=failCommon
51+
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
52+
-Dtycho.surefire.deleteWorkDir=true
4953
- name: Upload Test Results
5054
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
5155
with:

m2e-parent/pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,31 @@
239239
</plugins>
240240
</build>
241241
</profile>
242+
<profile>
243+
<id>windows</id>
244+
<activation>
245+
<os>
246+
<family>windows</family>
247+
</os>
248+
</activation>
249+
<properties>
250+
<!-- The Tycho baselinging does not yet work well on Windows.
251+
Temporarily skip it until it is fixed.-->
252+
<tycho.baseline.skip>true</tycho.baseline.skip>
253+
</properties>
254+
<build>
255+
<plugins>
256+
<plugin>
257+
<groupId>org.eclipse.tycho</groupId>
258+
<artifactId>tycho-p2-plugin</artifactId>
259+
<version>${tycho-version}</version>
260+
<configuration>
261+
<baselineMode>warn</baselineMode>
262+
</configuration>
263+
</plugin>
264+
</plugins>
265+
</build>
266+
</profile>
242267
</profiles>
243268

244269
<developers>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
<formats>
179179
<linux>tar.gz</linux>
180180
<macosx>tar.gz</macosx>
181+
<win32>tar.gz</win32>
181182
</formats>
182183
</configuration>
183184
</execution>

0 commit comments

Comments
 (0)