Skip to content

Commit

Permalink
nix workflow: trim macOS runs (#2807)
Browse files Browse the repository at this point in the history
* nix workflow: trim macOS runs

* rm 5.0
  • Loading branch information
anmonteiro authored Nov 3, 2024
1 parent 9e71ba6 commit ffe5118
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,15 @@ jobs:
run: nix-build ./nix/ci.nix --argstr ocamlVersion ${{ matrix.ocaml-version }}

macos-tests:
name: Build and test (${{ matrix.os }}) (${{ matrix.ocaml-version }})
name: Build and test (${{ matrix.setup.os }}) (${{ matrix.setup.ocaml-version }})

strategy:
matrix:
os:
- macos-13
- macos-14
ocaml-version:
- 4_14
- 5_0
- 5_2

runs-on: ${{ matrix.os }}
setup:
- {ocaml-version: '5_2', os: macos-13}
- {ocaml-version: '4_14', os: macos-14}
- {ocaml-version: '5_2', os: macos-14}
runs-on: ${{ matrix.setup.os }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -59,5 +55,5 @@ jobs:
extra-substituters = https://anmonteiro.nix-cache.workers.dev
extra-trusted-public-keys = ocaml.nix-cache.com-1:/xI2h2+56rwFfKyyFVbkJSeGqSIYMC/Je+7XXqGKDIY=
- name: "Run nix-build"
run: nix-build ./nix/ci.nix --argstr ocamlVersion ${{ matrix.ocaml-version }}
run: nix-build ./nix/ci.nix --argstr ocamlVersion ${{ matrix.setup.ocaml-version }}

0 comments on commit ffe5118

Please sign in to comment.