On CI, install after running tests

Installing can allow the testsuite to pick up installed artefacts
instead of local build tree ones.
master
David Allsopp 2017-02-13 15:45:33 +01:00
parent ab4e3beab1
commit 40234e3251
3 changed files with 2 additions and 2 deletions

View File

@ -37,9 +37,9 @@ EOF
export PATH=$PREFIX/bin:$PATH
make world.opt
make ocamlnat
make install
(cd testsuite && make all)
(cd testsuite && make USE_RUNTIME="d" all)
make install
# check_all_arches checks tries to compile all backends in place,
# we need to redo (small parts of) world.opt afterwards
make check_all_arches

View File

@ -69,3 +69,4 @@ test_script:
- ocamlc -version
- set CAML_LD_LIBRARY_PATH=%OCAMLROOT%/lib/stublibs
- '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER && make -f Makefile.nt tests"'
- '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER && make -f Makefile.nt install"'

View File

@ -44,4 +44,3 @@ run "make world" make -f Makefile.nt world
run "make bootstrap" make -f Makefile.nt bootstrap
run "make opt" make -f Makefile.nt opt
run "make opt.opt" make -f Makefile.nt opt.opt
run "make install" make -f Makefile.nt install