From 538e06ea007948b8a2a7cfa682d48bf4efd9a725 Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Tue, 5 Nov 2024 12:56:47 +0900 Subject: [PATCH] run CI on interesting platforms only Like JuliaInterpreter, I'd change the `matrix` to a list format to run CI more sparsely. There is little need to test exhaustively with a full `matrix`, and simply listing the platforms of actual interest will make CI finish faster and be more environmentally friendly. --- .github/workflows/CI.yml | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 05eccbe2..a262cf31 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,21 +12,31 @@ jobs: strategy: fail-fast: false matrix: - version: - - '1' - - '1.10.0' - - '1.11-nightly' - - 'nightly' - os: - - ubuntu-latest - - macOS-latest - - windows-latest - arch: - - x64 - - x86 - exclude: - - os: macOS-latest + include: + - version: '1' # current stable + os: ubuntu-latest + arch: x64 + - version: '1.10.0' # lowerest version supported + os: ubuntu-latest + arch: x64 + - version: '1.12-nightly' # next release + os: ubuntu-latest + arch: x64 + - version: 'nightly' # dev + os: ubuntu-latest + arch: x64 + - version: '1' # x86 ubuntu + os: ubuntu-latest arch: x86 + - version: '1' # x86 windows + os: windows-latest + arch: x86 + - version: '1' # x64 windows + os: windows-latest + arch: x64 + - version: '1' # x64 macOS + os: macos-latest + arch: x64 steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2