mirror of https://github.com/GNOME/gimp.git
app: CI cache now configured in GNOME gitlab.
Let's reimplement some caching of packages for Debian apt and crossroad. Hopefully it should speed up subsequent builds.
This commit is contained in:
parent
1cfcb392bc
commit
e1aebbac3b
|
@ -9,7 +9,7 @@ variables:
|
||||||
GIT_DEPTH: "1"
|
GIT_DEPTH: "1"
|
||||||
INSTALL_DIR: "_install"
|
INSTALL_DIR: "_install"
|
||||||
INSTALL_PREFIX: "${CI_PROJECT_DIR}/${INSTALL_DIR}"
|
INSTALL_PREFIX: "${CI_PROJECT_DIR}/${INSTALL_DIR}"
|
||||||
PACMAN_CACHE: "${CI_PROJECT_DIR}/_pacman_cache"
|
APT_CACHE: "${CI_PROJECT_DIR}/apt-cache"
|
||||||
|
|
||||||
## GNU/Linux 64-bit CIs ##
|
## GNU/Linux 64-bit CIs ##
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ deps-debian/testing:
|
||||||
stage: dependencies
|
stage: dependencies
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- _pacman_cache
|
- apt-cache
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 2 hours
|
expire_in: 2 hours
|
||||||
when: always
|
when: always
|
||||||
|
@ -26,8 +26,9 @@ deps-debian/testing:
|
||||||
- _babl/_build
|
- _babl/_build
|
||||||
- _gegl/_build
|
- _gegl/_build
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p $APT_CACHE
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
build-essential
|
build-essential
|
||||||
git
|
git
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
@ -69,6 +70,9 @@ deps-debian/testing:
|
||||||
stage: gimp
|
stage: gimp
|
||||||
dependencies:
|
dependencies:
|
||||||
- deps-debian/testing
|
- deps-debian/testing
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- apt-cache
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 days
|
expire_in: 1 days
|
||||||
when: always
|
when: always
|
||||||
|
@ -77,8 +81,9 @@ deps-debian/testing:
|
||||||
- _build
|
- _build
|
||||||
#- "${INSTALL_DIR}"
|
#- "${INSTALL_DIR}"
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p $APT_CACHE
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
at-spi2-core
|
at-spi2-core
|
||||||
build-essential
|
build-essential
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
|
@ -163,7 +168,7 @@ gimp-debian/testing-clang:
|
||||||
CC: "clang"
|
CC: "clang"
|
||||||
CXX: "clang++"
|
CXX: "clang++"
|
||||||
script:
|
script:
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
clang libomp-dev
|
clang libomp-dev
|
||||||
- meson _build
|
- meson _build
|
||||||
--prefix="${INSTALL_PREFIX}"
|
--prefix="${INSTALL_PREFIX}"
|
||||||
|
@ -183,9 +188,11 @@ deps-win64:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/crossroad/
|
- .cache/crossroad/
|
||||||
|
- apt-cache
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p $APT_CACHE
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
build-essential
|
build-essential
|
||||||
cpio
|
cpio
|
||||||
gcc-mingw-w64-x86-64
|
gcc-mingw-w64-x86-64
|
||||||
|
@ -224,9 +231,11 @@ gimp-win64:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/crossroad/
|
- .cache/crossroad/
|
||||||
|
- apt-cache
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p $APT_CACHE
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
build-essential
|
build-essential
|
||||||
cpio
|
cpio
|
||||||
gcc-mingw-w64-x86-64
|
gcc-mingw-w64-x86-64
|
||||||
|
@ -269,9 +278,11 @@ deps-win32:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/crossroad/
|
- .cache/crossroad/
|
||||||
|
- apt-cache
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p $APT_CACHE
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
build-essential
|
build-essential
|
||||||
cpio
|
cpio
|
||||||
gcc-mingw-w64-i686
|
gcc-mingw-w64-i686
|
||||||
|
@ -310,9 +321,11 @@ gimp-win32:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/crossroad/
|
- .cache/crossroad/
|
||||||
|
- apt-cache
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir -p $APT_CACHE
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends
|
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE"
|
||||||
build-essential
|
build-essential
|
||||||
cpio
|
cpio
|
||||||
gcc-mingw-w64-i686
|
gcc-mingw-w64-i686
|
||||||
|
|
Loading…
Reference in New Issue