Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ jobs:
docker:
- image: crops/yocto:ubuntu-19.04-builder
environment:
YOCTO_BRANCH: master
YOCTO_VERSION: "3.1"
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
Expand All @@ -18,10 +20,10 @@ jobs:
- sstate-test-
- run:
name: Clone poky
command: git clone git://git.yoctoproject.org/poky
command: git clone -b ${YOCTO_BRANCH} git://git.yoctoproject.org/poky
- run:
name: Clone meta-oe
command: git clone https://github.com/openembedded/meta-openembedded.git meta-oe
command: git clone -b ${YOCTO_BRANCH} https://github.com/openembedded/meta-openembedded.git meta-oe
- run:
name: Link meta-rauc
command: ln -sf . meta-rauc
Expand All @@ -30,7 +32,7 @@ jobs:
command: mkdir -p meta-this/conf/ && cp .circleci/*.sample meta-this/conf/.
- run:
name: Initialize build directory
command: TEMPLATECONF=../meta-this/conf source poky/oe-init-build-env build
command: TEMPLATECONF=../meta-this/conf source poky/oe-init-build-env build && sed -i s/YOCTO_VERSION/${YOCTO_VERSION}/g conf/local.conf && cat conf/local.conf
- run:
name: Build rauc
command: source poky/oe-init-build-env build && bitbake rauc
Expand Down
5 changes: 3 additions & 2 deletions .circleci/local.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ CONF_VERSION = "1"
SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
SSTATE_MIRRORS = "\
file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH \n \
file://.* http://sstate.yoctoproject.org/2.6/PATH;downloadfilename=PATH \n \
file://.* http://sstate.yoctoproject.org/2.7/PATH;downloadfilename=PATH \n \
file://.* http://sstate.yoctoproject.org/YOCTO_VERSION/PATH;downloadfilename=PATH \n \
"

INHERIT += "rm_work"