tests for LTO builds
@@ -48,7 +48,6 @@ Build_Static:
paths:
- bart
expire_in: 45 minutes
- allow_failure: true
Build_UBSan:
@@ -75,6 +74,18 @@ Build_GPU:
expire_in: 45 minutes
+Build_LTO:
+ image: debian:stable
+ stage: build
+ script:
+ - CFLAGS="-flto -O2 -g" make
+ artifacts:
+ paths:
+ - bart
+ expire_in: 45 minutes
+
+
+
Build_Tensorflow:
image: nvidia/cuda:10.2-devel-ubuntu18.04
stage: build
@@ -155,6 +166,16 @@ Unit_Test_Tensorflow:
- Build_Tensorflow
+Unit_Test_LTO:
+ image: debian:stable
+ stage: test1
+ script:
+ - CFLAGS="-flto -O2 -g" make test
+ needs: [Build_LTO]
+ dependencies:
+ - Build_LTO
+
+
Integration_Test:
image: debian:stable
