Commit 225143e8 authored by James T. Lee's avatar James T. Lee
Browse files

Cache builds on /nest

parent 59caf3e3
Pipeline #662 failed with stage
in 4 minutes and 14 seconds
...@@ -9,9 +9,9 @@ variables: ...@@ -9,9 +9,9 @@ variables:
script: script:
- 'export EMERGE_DEFAULT_OPTS="$CI_HOST_EMERGE_DEFAULT_OPTS" - 'export EMERGE_DEFAULT_OPTS="$CI_HOST_EMERGE_DEFAULT_OPTS"
MAKEOPTS="$CI_HOST_MAKEOPTS" MAKEOPTS="$CI_HOST_MAKEOPTS"
PORTAGE_TMPDIR=/cache' PORTAGE_TMPDIR="/nest/portage/build/${CPU}"'
- 'emerge --sync' - 'emerge --sync'
- '[ -d /cache/portage/.distcc ] || emerge -v1 -j1 -k n app-arch/snappy' - '[ -d "${PORTAGE_TMPDIR}/.distcc" ] || emerge -v1 -j1 -k n app-arch/snappy'
- 'emerge -v --onlydeps --usepkg "=www-client/chromium-${VERSION}"' - 'emerge -v --onlydeps --usepkg "=www-client/chromium-${VERSION}"'
- 'ebuild "/var/db/repos/gentoo/www-client/chromium/chromium-${VERSION}.ebuild" package' - 'ebuild "/var/db/repos/gentoo/www-client/chromium/chromium-${VERSION}.ebuild" package'
...@@ -20,7 +20,7 @@ variables: ...@@ -20,7 +20,7 @@ variables:
variables: variables:
CPU: 'haswell' CPU: 'haswell'
.'Build cortex-a72-a53-crypto': 'Build cortex-a72-a53-crypto':
<<: *template <<: *template
variables: variables:
CPU: 'cortex-a72-a53-crypto' CPU: 'cortex-a72-a53-crypto'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment