Skip to content

Instantly share code, notes, and snippets.

@dev-0x7C6
Created July 9, 2020 09:42
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dev-0x7C6/29678e321c14c35b3922bf0a282bd3c1 to your computer and use it in GitHub Desktop.
Example: Gitlab pipeline configuration for Yocto builds
image: crops/yocto:ubuntu-20.04-base
variables:
GIT_SUBMODULE_STRATEGY: recursive
LANG: "C.UTF-8"
LC_ALL: "C.UTF-8"
DL_DIR: "/cache/downloads"
CCACHE_TOP_DIR: "/cache/ccache"
SSTATE_DIR: "/cache/sstate"
BB_ENV_EXTRAWHITE: "DL_DIR CCACHE_TOP_DIR SSTATE_DIR"
default:
tags:
- docker
before_script:
- source poky/oe-init-build-env build
stages:
- intel-core2-32
- intel-corei7-64
intel-core2-32:
stage: intel-core2-32
script:
- MACHINE="intel-core2-32" bitbake retro-image-full
intel-corei7-64:
stage: intel-corei7-64
script:
- MACHINE="intel-corei7-64" bitbake retro-image-full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment