summaryrefslogtreecommitdiff
path: root/tools/ci/inria/other-configs/script
blob: 626d7d1dd16b40e7a91c78993a1eae9643eb3506 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
#**************************************************************************
#*                                                                        *
#*                                 OCaml                                  *
#*                                                                        *
#*            Sebastien Hinderer, projet Gallium, INRIA Paris             *
#*                                                                        *
#*   Copyright 2017 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.          *
#*                                                                        *
#**************************************************************************

# Commands to run for the 'other-configs' job on Inria's CI

# Stop on error
set -e

mainjob=./tools/ci/inria/main
main="${mainjob} -j8"

# The "MIN_BUILD" (formerly on Travis) builds with everything disabled (apart
# from ocamltest). Its goals:
#  - Ensure that the system builds correctly without native compilation
#  - Ensure ocamltest builds correctly with Unix
#  - Ensure the testsuite runs correctly with everything switched off
${main} -conf --disable-native-compiler \
        -conf --disable-shared \
        -conf --disable-debug-runtime \
        -conf --disable-instrumented-runtime \
        -conf --disable-systhreads \
        -conf --disable-str-lib \
        -conf --disable-unix-lib \
        -conf --disable-bigarray-lib \
        -conf --disable-ocamldoc \
        -conf --disable-dependency-generation
${main} -conf --disable-naked-pointers
${main} -with-bootstrap -conf --disable-flat-float-array
${main} -conf --enable-flambda -conf --disable-naked-pointers
${main} -conf --enable-reserved-header-bits=27
OCAMLRUNPARAM="c=1" ${main}