summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc5_h.sh
blob: 6072e7256bd92626bc26ee12633c917e5603aeb9 (plain) (blame)
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
#!/usr/bin/env bash

export CC=gcc-5
export CXX=g++-5

if [ "$NEWCC" != "" ]; then
    export CC="$NEWCC"
fi
if [ "$NEWCXX" != "" ]; then
    export CXX="$NEWCXX"
fi

export LOGFILE=gcc5_h.log

source ./tools/ci/scripts/init.sh

do_init

cd src
export dir=$(pwd)
export includes="-I$dir -I/usr/include -I/usr/include/libxml2"

run_h $*

cd ..

source ./tools/ci/scripts/exit.sh

exit 0