From 1088607aacd2c1d58202beedc6e7e4e974019651 Mon Sep 17 00:00:00 2001 From: David Thrane Christiansen Date: Fri, 19 Apr 2024 16:11:56 +0200 Subject: [PATCH] chore: less Mac CI Mac runners are a bottleneck, and are mostly there to check the subprocess interactions and installers. Remove some! --- .github/workflows/ci.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88d6482..cbe55b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,24 @@ jobs: - os: ubuntu-latest installer: | curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none - - os: macos-latest - installer: | - curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none - - os: macos-latest - installer: | - brew install elan-init + # Mac runners are rare and expensive, so spot-check that the + # subprocess support seems OK but be less thorough + include: + - toolchain: "4.7.0" + platform: + os: macos-latest + installer: | + curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none + - toolchain: "4.7.0" + platform: + os: macos-latest + installer: | + brew install elan-init + - toolchain: "4.3.0" + platform: + os: macos-latest + installer: | + brew install elan-init name: Build and test (${{ matrix.platform.os }}, ${{ matrix.platform.installer}}, ${{ matrix.toolchain}}) runs-on: ${{ matrix.platform.os }} steps: