ci: disable to save the environment
authorØyvind Kolås <pippin@gimp.org>
Wed, 23 Feb 2022 16:34:59 +0000 (17:34 +0100)
committerØyvind Kolås <pippin@gimp.org>
Wed, 23 Feb 2022 16:35:02 +0000 (17:35 +0100)
Arch linux continue to be a bit incompatible with the buildfarm,
CI is already bad for the environment, cpu consuming expected
failures are even worse.

The CI might turn up again backed by debian, but it is better to
turn it off for now.

.gitlab-ci.yml [deleted file]
.gitlab-ci.yml-ignored [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644 (file)
index 3bb72ab..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-cache:
-  paths:
-    - _pacman_cache
-
-.build:
-  stage: build
-  image: archlinux:latest
-  variables:
-    PACMAN_CACHE: $CI_PROJECT_DIR/_pacman_cache
-  artifacts:
-    when: always
-    paths:
-      - _build/meson-logs
-  before_script:
-    - pacman -Syu --noconfirm --needed --cachedir $PACMAN_CACHE --ignore glibc
-        base-devel
-        git
-        gobject-introspection
-        meson
-        vala
-        pacman-contrib
-        ${EXTRA_PKGS}
-  script:
-    - meson _build
-        -D enable-f16c=true
-        -D enable-mmx=true
-        -D enable-sse=true
-        -D enable-sse2=true
-        -D enable-sse4_1=true
-        -D with-docs=true
-        ${EXTRA_OPTIONS}
-    - ninja -C _build
-    - ninja -C _build test
-  after_script:
-    # Remove all cached packages but the latest version
-    #- paccache -r -k1 --cachedir $PACMAN_CACHE
-
-latest-lcms:
-  extends: .build
-  variables:
-    EXTRA_OPTIONS : "-Dwith-lcms=true"
-    EXTRA_PKGS: "lcms2"
-
-latest-nolcms:
-  extends: .build
-  variables:
-    EXTRA_OPTIONS : "-Dwith-lcms=false"
-    EXTRA_PKGS: ""
diff --git a/.gitlab-ci.yml-ignored b/.gitlab-ci.yml-ignored
new file mode 100644 (file)
index 0000000..3bb72ab
--- /dev/null
@@ -0,0 +1,48 @@
+cache:
+  paths:
+    - _pacman_cache
+
+.build:
+  stage: build
+  image: archlinux:latest
+  variables:
+    PACMAN_CACHE: $CI_PROJECT_DIR/_pacman_cache
+  artifacts:
+    when: always
+    paths:
+      - _build/meson-logs
+  before_script:
+    - pacman -Syu --noconfirm --needed --cachedir $PACMAN_CACHE --ignore glibc
+        base-devel
+        git
+        gobject-introspection
+        meson
+        vala
+        pacman-contrib
+        ${EXTRA_PKGS}
+  script:
+    - meson _build
+        -D enable-f16c=true
+        -D enable-mmx=true
+        -D enable-sse=true
+        -D enable-sse2=true
+        -D enable-sse4_1=true
+        -D with-docs=true
+        ${EXTRA_OPTIONS}
+    - ninja -C _build
+    - ninja -C _build test
+  after_script:
+    # Remove all cached packages but the latest version
+    #- paccache -r -k1 --cachedir $PACMAN_CACHE
+
+latest-lcms:
+  extends: .build
+  variables:
+    EXTRA_OPTIONS : "-Dwith-lcms=true"
+    EXTRA_PKGS: "lcms2"
+
+latest-nolcms:
+  extends: .build
+  variables:
+    EXTRA_OPTIONS : "-Dwith-lcms=false"
+    EXTRA_PKGS: ""