aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/appveyor.sh
blob: abeb039c0e9eb4af371e34ba6eaa098c77ee8d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e -x

APPVEYOR_OPAM_SWITCH=4.07.0+mingw64c

wget https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.1/opam64.tar.xz
tar -xf opam64.tar.xz
bash opam64/install.sh

opam init -a mingw https://github.com/fdopen/opam-repository-mingw.git --comp $APPVEYOR_OPAM_SWITCH --switch $APPVEYOR_OPAM_SWITCH
eval "$(opam config env)"
opam install -y num ocamlfind ounit

cd "$APPVEYOR_BUILD_FOLDER" && ./configure -local && make && make byte && make -C test-suite all INTERACTIVE= # && make validate