summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc5_h.sh
blob: 6a52f3fd4d166ffd4339fb8263e77cdf3f2b1f39 (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
#!/bin/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/SDL -I/usr/include/libxml2"

run_h $*

cd ..

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

exit 0