Fixed file attrs
[libcds.git] / build / CI / VASEx-CI-2 / ci-build
1 #! /bin/bash
2
3 # Useful envvars:
4 # CI_SCRIPT_PATH - path where to find scripts
5 # TOOLSET - toolset: x64-gcc-5, x64-clang-3.9 and so on
6 # BUILD_TYPE - build type: 'dbg', 'rel', 'asan', 'tsan'
7 # WORKSPACE - path where to build
8
9 env|sort
10
11 case "$TOOLSET" in
12     "x64-gcc-4.8")
13         echo "GCC-4.8 '$BUILD_TYPE', toolset root: $GCC48_ROOT"
14         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-gcc-4.8-64
15         EXIT_CODE=$?
16         ;;
17     "x64-gcc-4.9")
18         echo "GCC-4.9 '$BUILD_TYPE', toolset root: $GCC49_ROOT"
19         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-gcc-4.9-64
20         EXIT_CODE=$?
21         ;;
22     "x64-gcc-5")
23         echo "GCC-5 '$BUILD_TYPE', toolset root: $GCC5_ROOT"
24         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-gcc-5-64
25         EXIT_CODE=$?
26         ;;
27     "x64-gcc-6")
28         echo "GCC-6 '$BUILD_TYPE', toolset root: $GCC6_ROOT"
29         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-gcc-6-64
30         EXIT_CODE=$?
31         ;;
32     "x64-clang-3.6")
33         echo "clang-3.6 '$BUILD_TYPE', toolset root: $CLANG36_ROOT"
34         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-clang-3.6-64
35         EXIT_CODE=$?
36         ;;
37     "x64-clang-3.7")
38         echo "clang-3.7 '$BUILD_TYPE', toolset root: $CLANG37_ROOT"
39         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-clang-3.7-64
40         EXIT_CODE=$?
41         ;;
42     "x64-clang-3.8")
43         echo "clang-3.8 '$BUILD_TYPE', toolset root: $CLANG38_ROOT"
44         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-clang-3.8-64
45         EXIT_CODE=$?
46         ;;
47     "x64-clang-3.9")
48         echo "clang-3.9 '$BUILD_TYPE', toolset root: $CLANG39_ROOT"
49         $CI_SCRIPT_PATH/ci-script/cds-$BUILD_TYPE-clang-3.9-64
50         EXIT_CODE=$?
51         ;;
52     * )
53         echo "Undefined toolset '$TOOLSET'"
54         exit 1
55         ;;
56 esac
57
58 exit $EXIT_CODE