Skip to content

Commit 944d73b

Browse files
committed
Don't allow unsupported compilers to be selected
1 parent c00383f commit 944d73b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/windows.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
if: steps.cache-opam.outputs.cache-hit != 'true'
4141
run: opam init --yes --no-setup .
4242

43+
- name: Restrict testing to available compilers
44+
if: steps.cache-opam.outputs.cache-hit != 'true'
45+
# TODO Amend this lowerbound as older compiler packages are updated
46+
run: opam switch set-invariant --formula "`"ocaml`" {>= `"4.13`"}"
47+
4348
- name: Save opam cache
4449
if: steps.cache-opam.outputs.cache-hit != 'true'
4550
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)