summaryrefslogtreecommitdiff
path: root/tools/ci/inria/dune-build
blob: 6c95220a3e70c267330d893fc0bfd4bb88241631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

#**************************************************************************
#*                                                                        *
#*                                 OCaml                                  *
#*                                                                        *
#*          Xavier Leroy, projet Cambium, INRIA Paris-Rocquencourt        *
#*                                                                        *
#*   Copyright 2020 Institut National de Recherche en Informatique et     *
#*     en Automatique.                                                    *
#*                                                                        *
#*   All rights reserved.  This file is distributed under the terms of    *
#*   the GNU Lesser General Public License version 2.1, with the          *
#*   special exception on linking described in the file LICENSE.          *
#*                                                                        *
#**************************************************************************

# Test the Dune-based build

set -ex
eval $(opam env)
export LC_ALL=C
git clean -q -f -d -x
./configure
dune build -j2 @libs