| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
#************************************************************************** |
| 4 |
#* * |
| 5 |
#* OCaml * |
| 6 |
#* * |
| 7 |
#* Xavier Leroy, projet Cambium, INRIA Paris-Rocquencourt * |
| 8 |
#* * |
| 9 |
#* Copyright 2020 Institut National de Recherche en Informatique et * |
| 10 |
#* en Automatique. * |
| 11 |
#* * |
| 12 |
#* All rights reserved. This file is distributed under the terms of * |
| 13 |
#* the GNU Lesser General Public License version 2.1, with the * |
| 14 |
#* special exception on linking described in the file LICENSE. * |
| 15 |
#* * |
| 16 |
#************************************************************************** |
| 17 |
|
| 18 |
# Test the Dune-based build |
| 19 |
|
| 20 |
set -ex |
| 21 |
eval $(opam env) |
| 22 |
export LC_ALL=C |
| 23 |
git clean -q -f -d -x |
| 24 |
./configure |
| 25 |
dune build -j2 @libs |