Commit c6a9b2ca authored by Michaël Roynard's avatar Michaël Roynard

Fix compiler detection

parent 4f0a08c8
Pipeline #1971 passed with stage
in 50 seconds
variables:
CC: "gcc" # eg. gcc or clang
CXX: "g++" # eg. g++ or clang++
RELEASE_TYPE: "Release" # default release type
CONAN_PROFILE: "gcc-release" # default profile to give to conan install
CMAKE_GENERATOR: "-G Ninja" # include -G if defined
......@@ -17,6 +19,10 @@ stages:
image: mroynard/ubuntu-toolset:stable
script:
- set -e
- export CC=$CC
- export CXX=$CXX
- $CC --version
- $CXX --version
- mkdir -p $BUILD_DIRECTORY
- cd $BUILD_DIRECTORY
- if [ "$CLEAN" == "ON" ]; then rm -rf ./*; fi
......@@ -38,6 +44,8 @@ distcheck-linux-gcc-release:
distcheck-linux-clang-release:
<<: *distcheck-basic-linux
variables:
CC: "clang"
CXX: "clang++"
CONAN_PROFILE: "clang-release"
distcheck-linux-gcc-debug:
......@@ -49,5 +57,7 @@ distcheck-linux-gcc-debug:
distcheck-linux-clang-debug:
<<: *distcheck-basic-linux
variables:
CC: "clang"
CXX: "clang++"
CONAN_PROFILE: "clang-debug"
RELEASE_TYPE: "Debug"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment