Skip to content
Snippets Groups Projects
Verified Commit c9e456df authored by Tobias Triffterer's avatar Tobias Triffterer :house_with_garden:
Browse files

Add CI/CD for Common Library

The same script as for server and client, but without artifacts because
uploading the static library doesn't yield much use.
parent d9107c2b
No related branches found
No related tags found
No related merge requests found
Pipeline #2910 passed with stage
in 1 minute and 42 seconds
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment