aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/appveyor.sh
blob: 524a55a423a54acb36163afe2a1e9d8e6eddf18a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e -x
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 4.02.3+mingw64c --switch 4.02.3+mingw64c
eval $(opam config env)
opam install -y ocamlfind camlp5
cd $APPVEYOR_BUILD_FOLDER && ./configure -local && make && make byte && make -C test-suite all INTERACTIVE= && make validate