Skip to content

Commit

Permalink
Run GH verification build on Windows too
Browse files Browse the repository at this point in the history
Fixes #1080
  • Loading branch information
HannesWell committed Feb 20, 2024
1 parent 369b34f commit 9de192d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 45

Expand Down Expand Up @@ -43,7 +43,11 @@ jobs:
- name: Build m2e-core
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
with:
run: mvn clean verify --batch-mode -Pits -Dtycho.p2.baselineMode=failCommon -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
run: >-
mvn clean verify --batch-mode -Pits
-Dtycho.p2.baselineMode=failCommon
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
-Dtycho.surefire.deleteWorkDir=true
- name: Upload Test Results
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
Expand Down
12 changes: 12 additions & 0 deletions m2e-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,18 @@
</plugins>
</build>
</profile>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<!-- The Tycho baselinging does not yet work well on Windows. Temporarily skip it until it is fixed.-->
<tycho.baseline.skip>true</tycho.baseline.skip>
</properties>
</profile>
</profiles>

<developers>
Expand Down

0 comments on commit 9de192d

Please sign in to comment.