Skip to content

Commit

Permalink
chore: less Mac CI
Browse files Browse the repository at this point in the history
Mac runners are a bottleneck, and are mostly there to check the
subprocess interactions and installers. Remove some!
  • Loading branch information
david-christiansen committed Apr 19, 2024
1 parent 574c7fe commit 1088607
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1088607

Please sign in to comment.