.gitlab-ci.yml 808 Bytes
Newer Older
James T. Lee's avatar
James T. Lee committed
1
---
James T. Lee's avatar
James T. Lee committed
2
3
4
variables:
  VERSION: '89.0.4389.114'

James T. Lee's avatar
James T. Lee committed
5
6
7
8
9
.template: &template
  image: '${CI_REGISTRY}/nest/stage1:${CPU}-workstation'
  stage: 'build'
  tags: ['nest']
  script:
James T. Lee's avatar
James T. Lee committed
10
11
    - 'export EMERGE_DEFAULT_OPTS="$CI_HOST_EMERGE_DEFAULT_OPTS"
              MAKEOPTS="$CI_HOST_MAKEOPTS"
12
              PORTAGE_TMPDIR=/cache'
James T. Lee's avatar
James T. Lee committed
13
    - 'emerge --sync'
14
    - '[ -d /cache/portage/.distcc ] || emerge -v1 -j1 -k n app-arch/snappy'
James T. Lee's avatar
James T. Lee committed
15
16
    - 'emerge -v --onlydeps --usepkg "=www-client/chromium-${VERSION}"'
    - 'ebuild "/var/db/repos/gentoo/www-client/chromium/chromium-${VERSION}.ebuild" package'
James T. Lee's avatar
James T. Lee committed
17

James T. Lee's avatar
James T. Lee committed
18
.'Build haswell':
James T. Lee's avatar
James T. Lee committed
19
20
21
22
  <<: *template
  variables:
    CPU: 'haswell'

23
.'Build cortex-a72-a53-crypto':
James T. Lee's avatar
James T. Lee committed
24
25
26
27
28
29
30
31
  <<: *template
  variables:
    CPU: 'cortex-a72-a53-crypto'

'Build cortex-a72':
  <<: *template
  variables:
    CPU: 'cortex-a72'