forked from HULKs/meta-nao
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
90 changed files
with
1,777 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aldebaran_binaries.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM ubuntu:rolling | ||
|
||
LABEL org.opencontainers.image.source https://github.com/HULKs/meta-hulks | ||
|
||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL=en_US.UTF-8 | ||
|
||
# https://docs.yoctoproject.org/3.2.3/ref-manual/ref-system-requirements.html#ubuntu-and-debian (without some packages, with NodeJS) | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin apt-get install --no-install-recommends --yes \ | ||
locales \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \ | ||
DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin apt-get install --no-install-recommends --yes \ | ||
build-essential \ | ||
chrpath \ | ||
cpio \ | ||
debianutils \ | ||
diffstat \ | ||
file \ | ||
gawk \ | ||
gcc-multilib \ | ||
git \ | ||
git-lfs \ | ||
iputils-ping \ | ||
locales \ | ||
lz4 \ | ||
nodejs \ | ||
npm \ | ||
python3 \ | ||
python3-git \ | ||
python3-jinja2 \ | ||
python3-pexpect \ | ||
python3-pip \ | ||
python3-subunit \ | ||
unzip \ | ||
wget \ | ||
xz-utils \ | ||
zstd \ | ||
&& apt-get clean && \ | ||
rm --recursive --force /var/lib/apt/lists/* | ||
|
||
RUN pip3 install --no-cache-dir git+https://github.com/siemens/kas.git | ||
|
||
COPY aldebaran_binaries.tar.gz / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Yocto CI/CD | ||
on: push | ||
jobs: | ||
cicd: | ||
name: Yocto CI/CD | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
- yocto | ||
container: | ||
image: ghcr.io/hulks/yocto_release | ||
options: --user=1000:1000 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
path: meta-hulks | ||
- name: Checkout Yocto layers | ||
run: kas checkout meta-nao/kas-project.yml | ||
- name: Populate aldebaran_binaries.tar.gz | ||
run: mkdir -p meta-nao/meta/recipes-support/aldebaran/aldebaran-binaries/ && cp /aldebaran_binaries.tar.gz meta-nao/meta/recipes-support/aldebaran/aldebaran-binaries/ | ||
- name: Build image | ||
run: kas build --target nao-image --cmd build meta-nao/kas-project.yml | ||
- name: Build SDK | ||
run: kas build --target nao-image --cmd populate_sdk meta-nao/kas-project.yml | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
name: HULKs-OS ${{ github.ref_name }} | ||
body: Flashable image containing HULKs-OS ${{ github.ref_name }} and the corresponding SDK with the toolchain and other tools targeting HULKs-OS, for instructions see https://hulks.de/hulk/setup/overview/ | ||
files: | | ||
build/tmp/deploy/images/nao-v6/nao-image-HULKs-OS-${{ github.ref_name }}.ext3.gz.opn | ||
build/tmp/deploy/sdk/HULKs-OS-toolchain-${{ github.ref_name }}.sh | ||
fail_on_unmatched_files: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require conf/distro/nao-core-minimal.conf | ||
|
||
SUMMARY = "HULKs flavoured Poky" | ||
|
||
DISTRO = "HULKs-OS" | ||
DISTRO_NAME = "HULKs-OS" | ||
DISTRO_VERSION = "6.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# We have a conf and classes directory, add to BBPATH | ||
BBPATH .= ":${LAYERDIR}" | ||
|
||
# We have recipes-* directories, add to BBFILES | ||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
${LAYERDIR}/recipes-*/*/*.bbappend" | ||
|
||
LAYERSERIES_COMPAT_hulks = "scarthgap" | ||
|
||
BBFILE_COLLECTIONS += "hulks" | ||
BBFILE_PATTERN_hulks = "^${LAYERDIR}/" | ||
BBFILE_PRIORITY_hulks = "9" | ||
LAYERVERSION_hulks = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
|
||
SDK_ZSTD_COMPRESSION_LEVEL = "-9" | ||
|
||
CORE_IMAGE_EXTRA_INSTALL += "\ | ||
aliveness \ | ||
breeze \ | ||
compilednn \ | ||
hula \ | ||
hulk \ | ||
iproute2 \ | ||
jq \ | ||
libxml2-utils \ | ||
libogg \ | ||
libopus \ | ||
nano \ | ||
network-config \ | ||
opusfile \ | ||
" |
Oops, something went wrong.