[gegl] ci: Use meson 'release' and 'debugoptimized' build types



commit 10822220e31bf751d13f39931cb776c32d720442
Author: Jan Vesely <jano vesely gmail com>
Date:   Tue May 26 20:54:31 2020 -0400

    ci: Use meson 'release' and 'debugoptimized' build types
    
    Signed-off-by: Jan Vesely <jano vesely gmail com>

 .gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bcc04e4f4..677bcaa04 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -107,7 +107,7 @@ babl-min:
    # Add /usr/local/share:/usr/share for vapigen.
    - export XDG_DATA_DIRS="$XDG_DATA_DIRS:$BABL_PREFIX/share:/usr/local/share/:/usr/share/"
    - export LD_LIBRARY_PATH="$BABL_PREFIX/lib:$LD_LIBRARY_PATH"
-   - meson -Dpkg_config_path=$BABL_PREFIX/lib/pkgconfig $CONFIG_OPTIONS _build
+   - meson -Dbuildtype=$BUILD_TYPE -Dpkg_config_path=$BABL_PREFIX/lib/pkgconfig $CONFIG_OPTIONS _build
    - ninja -C _build
    - ccache -s
    - meson test -C _build --print-errorlogs
@@ -115,18 +115,19 @@ babl-min:
 .build-default:
   extends: .gegl-build
   variables:
+    BUILD_TYPE: "release"
     CONFIG_OPTIONS: ""
 
 .build-all:
   extends: .gegl-build
   variables:
+    BUILD_TYPE: "release"
     CONFIG_OPTIONS: "-Dworkshop=true -Ddocs=true -Dintrospection=true"
 
 .build-all-debug:
   extends: .build-all
   variables:
-    CFLAGS: "-DGEGL_ENABLE_DEBUG"
-    CXXFLAGS: "-DGEGL_ENABLE_DEBUG"
+    BUILD_TYPE: "debugoptimized"
 
 default-min-babl:
   extends: .build-default


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]