From 2fd24d447abd4bbdcf72fcabfe1214a06b6d5e6b Mon Sep 17 00:00:00 2001 From: Hannes Rantzsch Date: Mon, 20 May 2024 16:08:36 +0200 Subject: [PATCH] fix runs-on, yamllint --- .github/workflows/ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 654da4d..8dd674e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,18 +2,21 @@ name: Build and test on: push: - branches: [ master ] + branches: + - master pull_request: - branches: [ master ] + branches: + - master schedule: - cron: '0 4 * * 0' jobs: Windows-test: - runs-on: [windows-2019, windows-2022] + runs-on: ${{ matrix.os }} strategy: matrix: + os: [windows-2019, windows-2022] config: [Debug, Release] steps: - uses: actions/checkout@v4 @@ -51,7 +54,10 @@ jobs: cmake --build . --target test Unix-test-coverage: - runs-on: [ubuntu-22.04, macos-14] + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-22.04, macos-14] steps: - uses: actions/checkout@v4