[babl: 4/6] Add gitlab CI configuration
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [babl: 4/6] Add gitlab CI configuration
- Date: Thu,  6 Dec 2018 21:14:09 +0000 (UTC)
commit 6959fb15d308e23ab1cceea476c34d8c24f9d0d0
Author: Ján Veselý <jano vesely gmail com>
Date:   Thu Dec 6 14:21:27 2018 -0500
    Add gitlab CI configuration
    
    Build both automake and meson using latest arch
    Signed-off-by: Jan Vesely <jan vesely rutgers edu>
 .gitlab-ci.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..377010f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,61 @@
+.artifacts-meson: &artifacts-meson
+  when: always
+  paths:
+   - _build/meson-logs
+
+.artifacts-autotools: &artifacts-autotools
+  when: always
+  paths:
+    - _build/*.log
+    - _build/*/*.log
+    - _build/*/*/*.log
+
+.meson-build-lcms: &meson-build-lcms
+  - meson _build
+      -D enable-f16c=true
+      -D enable-mmx=true
+      -D enable-sse=true
+      -D enable-sse2=true
+      -D enable-sse3=true
+      -D enable-sse4_1=true
+      -D with-docs=true
+  - ninja -C _build
+  - ninja -C _build test
+
+.autotools-build-lcms: &autotools-build-lcms
+  - mkdir _build
+  - cd _build
+  - ../autogen.sh
+      --enable-docs
+      --enable-f16c
+      --enable-mmx
+      --enable-sse
+      --enable-sse2
+      --enable-sse3
+      --enable-sse4_1
+      --with-lcms
+  - make
+  - make check
+
+latest-meson-lcms:
+  stage: build
+  image: base/archlinux:latest
+  artifacts: *artifacts-meson
+  before_script:
+    - pacman -Syu --noconfirm --needed
+        base-devel
+        meson
+        lcms2
+        git
+  script: *meson-build-lcms
+
+latest-autotools-lcms:
+  stage: build
+  image: base/archlinux:latest
+  artifacts: *artifacts-autotools
+  before_script:
+    - pacman -Syu --noconfirm --needed
+        base-devel
+        lcms2
+        git
+  script: *autotools-build-lcms
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]