Skip to content

Commit 4bd1804

Browse files
authored
Merge pull request #201 from goblint/github-actions-macos-13-deprecated
Refactor CI matrix due to deprecated macos-13
2 parents c5941fc + 157a8d8 commit 4bd1804

File tree

1 file changed

+35
-17
lines changed

1 file changed

+35
-17
lines changed

.github/workflows/tests.yml

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,50 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os:
15-
- macos-13
16-
- ubuntu-latest
17-
# - windows-latest
18-
ocaml-version:
19-
- 4.12.0
20-
- 4.13.1
21-
- 4.14.x
22-
- 5.0.0
23-
- 5.1.0
24-
- 5.2.0
25-
14+
# We don't want a full matrix because it is too slow, so we only have linear axes overriding these below.
2615
include:
27-
- os: macos-latest
28-
ocaml-version: 4.14.x
16+
# Common configuration
17+
- os: ubuntu-24.04
18+
ocaml-compiler: 4.14.x
19+
20+
# OCaml versions
21+
- os: ubuntu-24.04
22+
ocaml-compiler: 5.4.x
23+
- os: ubuntu-24.04
24+
ocaml-compiler: 5.3.x
25+
- os: ubuntu-24.04
26+
ocaml-compiler: 5.2.x
27+
- os: ubuntu-24.04
28+
ocaml-compiler: 5.1.x
29+
- os: ubuntu-24.04
30+
ocaml-compiler: 5.0.x
31+
- os: ubuntu-24.04
32+
ocaml-compiler: 4.13.x
33+
- os: ubuntu-24.04
34+
ocaml-compiler: 4.12.x
35+
36+
# OS-s
37+
- os: ubuntu-22.04
38+
ocaml-compiler: 4.14.x
39+
- os: macos-26
40+
ocaml-compiler: 4.14.x
41+
- os: macos-15-intel
42+
ocaml-compiler: 4.14.x
43+
- os: macos-15
44+
ocaml-compiler: 4.14.x
45+
- os: macos-14
46+
ocaml-compiler: 4.14.x
2947

3048
runs-on: ${{ matrix.os }}
3149

3250
steps:
3351
- name: Checkout code
3452
uses: actions/checkout@v2
3553

36-
- name: Setup OCaml ${{ matrix.ocaml-version }}
54+
- name: Setup OCaml ${{ matrix.ocaml-compiler }}
3755
uses: ocaml/setup-ocaml@v3
3856
with:
39-
ocaml-compiler: ${{ matrix.ocaml-version }}
57+
ocaml-compiler: ${{ matrix.ocaml-compiler }}
4058

4159
- run: opam pin add goblint-cil.dev . --no-action
4260
- run: opam depext goblint-cil --yes
@@ -49,5 +67,5 @@ jobs:
4967
uses: actions/upload-artifact@v4
5068
if: failure()
5169
with:
52-
name: ${{ matrix.os }}-${{ matrix.ocaml-version }}
70+
name: ${{ matrix.os }}-${{ matrix.ocaml-compiler }}
5371
path: _build/default/test/cil.log

0 commit comments

Comments
 (0)