Skip to content

Commit

Permalink
Select cold compiler for AppVeyor test
Browse files Browse the repository at this point in the history
This test is becoming a bit dated, though, now that the testsuite
actually works.
  • Loading branch information
dra27 committed Jan 7, 2022
1 parent bd522fb commit 2821bbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion appveyor_test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

opam init -y -a --compiler=ocaml.4.13.1 git+$OPAM_REPO#$OPAM_TEST_REPO_SHA
COLD_OCAML="$(sed -ne 's/URL_ocaml = .*ocaml-.*ocaml-\(.*\)\.tar\.gz/ocaml.\1/p' src_ext/Makefile)"
# This is supposed to be able to select ocaml-system using the bootstrap compiler
opam init -y -a --compiler=$COLD_OCAML git+$OPAM_REPO#$OPAM_TEST_REPO_SHA
eval $(opam config env)
opam install -y -v ocamlfind

0 comments on commit 2821bbc

Please sign in to comment.