-
Tobias Triffterer authored
Let's see if this build script suceeds...
Verifiedb86d631d
.gitlab-ci.yml 1.12 KiB
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
run_build:
stage: build
script:
- if [ -e /data/jollyj/tobias/panda-repo/pandaroot/fairsoft-build/bin/thisroot.sh ]; then
- source /data/jollyj/tobias/panda-repo/pandaroot/fairsoft-build/bin/thisroot.sh
- fi
- if [ -e /usr/local/bin/gcc ]; then
- C_COMPILER=/usr/local/bin/gcc
- elif [ -e /usr/bin/gcc-10 ]; then
- C_COMPILER=/usr/bin/gcc-10
- else
- C_COMPILER=/usr/bin/gcc
- fi
- if [ -e /usr/local/bin/g++ ]; then
- CXX_COMPILER=/usr/local/bin/g++
- elif [ -e /usr/bin/g++-10 ]; then
- CXX_COMPILER=/usr/bin/g++-10
- else
- CXX_COMPILER=/usr/bin/g++
- fi
- if [ -e /data/jollyj/tobias/panda-repo/pandaroot/fairsoft-build/bin/cmake ]; then
- CMAKE=/data/jollyj/tobias/panda-repo/pandaroot/fairsoft-build/bin/cmake
- else
- CMAKE=/usr/bin/cmake
- fi
- mkdir -p build
- cd build
- ${CMAKE} -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${CXX_COMPILER} -DCMAKE_CXX_STANDARD=14 -DUSE_HOST_ROOT_INSTALL=ON ..
- make
artifacts:
paths:
- build/fp311online-client