From 7a4e299a55771658146810616b54aaf41ffe792a Mon Sep 17 00:00:00 2001 From: Athou Date: Mon, 12 Aug 2024 17:22:15 +0200 Subject: [PATCH] add windows builds --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d131e3a07..06eff1a10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,11 @@ on: [ push ] jobs: build: - runs-on: ubuntu-latest strategy: matrix: + os: [ "ubuntu-latest", "windows-latest" ] database: [ "h2", "postgresql", "mysql", "mariadb" ] + runs-on: ${{ matrix.os }} steps: # Checkout @@ -35,7 +36,7 @@ jobs: # Build & Test - name: Build with Maven - run: mvn --batch-mode --no-transfer-progress install -Pnative -P${{ matrix.database }} + run: mvn --batch-mode --no-transfer-progress install -Pnative -P${{ matrix.database }} -DskipTests=${{ runner.os == 'Windows' && matrix.database != 'h2' }} # Upload artifacts - name: Upload cross-platform app