From aaa7d879dc215c62767321949dc6fc5a4d1a8957 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Thu, 2 May 2024 08:32:55 +0100 Subject: [PATCH] Run ci on windows and macos --- .github/workflows/ci-pr.yml | 12 ++++++++---- .github/workflows/ci.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 6b6324031..9c1a13e2f 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -5,7 +5,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} timeout-minutes: 15 strategy: fail-fast: false @@ -13,7 +13,13 @@ jobs: include: - nickname: linux jdk17 java: 17 - disable-samples: true + os: ubuntu-latest + - nickname: macos jdk17 + java: 17 + os: macos-latest + - nickname: windows jdk17 + java: 17 + os: windows-latest name: CI PR ${{ matrix.nickname }} steps: - uses: actions/checkout@v3 @@ -23,6 +29,4 @@ jobs: java-version: ${{ matrix.java }} cache: gradle - name: Build - env: - DISABLE_SAMPLES: ${{ matrix.disable-samples }} run: ./gradlew build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8db3f2a4..503985e80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,20 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: include: - nickname: linux jdk17 java: 17 + os: ubuntu-latest + - nickname: macos jdk17 + java: 17 + os: macos-latest + - nickname: windows jdk17 + java: 17 + os: windows-latest name: CI Build ${{ matrix.nickname }} steps: - uses: actions/checkout@v3