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 Nov 14, 2023
1 parent 419b502 commit 0d5aa7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 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,7 @@ jobs:
- name: Build m2e-core
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
with:
run: mvn clean verify -Pits -Dtycho.p2.baselineMode=failCommon --batch-mode
run: mvn clean verify --batch-mode -Pits -Dtycho.p2.baselineMode=failCommon -Dtycho.surefire.deleteWorkDir=true
- name: Upload Test Results
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
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 @@ -240,6 +240,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 0d5aa7b

Please sign in to comment.