From 7b0b322f71dac696d84e47ef3e324b0f1284258e Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Wed, 22 Nov 2023 16:56:05 +0800 Subject: [PATCH] WIP --- .github/workflows/ci.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d867be6e..8e4fc3bb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,14 +7,20 @@ on: [ push, pull_request, workflow_dispatch ] jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ${{ fromJSON(matrix.os_deps).os }} timeout-minutes: 5 strategy: matrix: - os: [ ubuntu-latest, macos-11, macos-latest ] + os_deps: + - | + {"os": "ubuntu-latest"} + - | + {"os": "macos-11"} + - | + {"os": "macos-latest"} fail-fast: false max-parallel: 64 - name: Test on ${{ matrix.os }} + name: Test on ${{ matrix.os_deps }} steps: - uses: actions/checkout@v3