From d4d1e47275b3d71238d2323d2a774ebacd075dba Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 31 Dec 2022 13:39:56 +0100 Subject: [PATCH] Run GH verification build on Windows too Fixes https://github.com/eclipse-m2e/m2e-core/issues/1080 --- .github/workflows/maven.yml | 8 ++++++-- m2e-parent/pom.xml | 25 +++++++++++++++++++++++++ pom.xml | 1 + 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2810c88f0e..9b4517a83e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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 @@ -45,7 +45,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@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: diff --git a/m2e-parent/pom.xml b/m2e-parent/pom.xml index 39c72f8945..8f4705fcfa 100644 --- a/m2e-parent/pom.xml +++ b/m2e-parent/pom.xml @@ -239,6 +239,31 @@ + + windows + + + windows + + + + + true + + + + + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} + + warn + + + + + diff --git a/pom.xml b/pom.xml index 22be31246f..af61929dca 100644 --- a/pom.xml +++ b/pom.xml @@ -178,6 +178,7 @@ tar.gz tar.gz + tar.gz