Commit 6485c2dd authored by James T. Lee's avatar James T. Lee
Browse files

Build using per-job cache

parent 1ccaa653
Pipeline #661 canceled with stage
in 17 minutes and 48 seconds
......@@ -6,12 +6,16 @@ variables:
image: '${CI_REGISTRY}/nest/stage1:${CPU}-workstation'
stage: 'build'
tags: ['nest']
cache:
key: '$CI_JOB_NAME'
paths:
- 'portage/'
script:
- 'export EMERGE_DEFAULT_OPTS="$CI_HOST_EMERGE_DEFAULT_OPTS"
MAKEOPTS="$CI_HOST_MAKEOPTS"
PORTAGE_TMPDIR=/cache'
PORTAGE_TMPDIR=.'
- 'emerge --sync'
- '[ -d /cache/portage/.distcc ] || emerge -v1 -j1 -k n app-arch/snappy'
- '[ -d ./portage/.distcc ] || emerge -v1 -j1 -k n app-arch/snappy'
- 'emerge -v --onlydeps --usepkg "=www-client/chromium-${VERSION}"'
- 'ebuild "/var/db/repos/gentoo/www-client/chromium/chromium-${VERSION}.ebuild" package'
......@@ -20,7 +24,7 @@ variables:
variables:
CPU: 'haswell'
.'Build cortex-a72-a53-crypto':
'Build cortex-a72-a53-crypto':
<<: *template
variables:
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