Skip to content

Bump layer revisions #677

Bump layer revisions

Bump layer revisions #677

name: "[pr]-[glibc]-[qemuarm64]"
on: pull_request
jobs:
buildrun:
name: "build"
env:
BUILD_EXPORT: 1
SCM_BRANCH: master
BUILD_GLIBC: 1
BUILD_KERNEL: 1
BUILD_MAXRUNTIME: 21000
BUILD_QEMUSYSTEM: 1
PYTHONIOENCODING: utf8
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
WORKSPACE: /opt/build
TOPDIR: /opt/build
TEMPLATECONF: /opt/build/sources/meta-rubygems/conf/templates/rubygems-arm64-glibc
runs-on: ubuntu-latest
container:
image: privkweihmann/yocto-sca-minimal:2004
volumes:
- ${{ github.workspace }}:/opt/build
options: --privileged --user=yoctouser
steps:
- name: setup (container)
uses: priv-kweihmann/meta-sca-ci-utils/preparecontainer@latest
- name: checkout (poky)
uses: priv-kweihmann/meta-sca-ci-utils/addlayer@latest
with:
repo: git://git.yoctoproject.org/poky.git
ref: e5176979eff14776f1e544d7b5c93fb519a27259
branch: none
add-layer: "0"
- name: checkout (meta-rubygems)
uses: priv-kweihmann/meta-sca-ci-utils/addlayer@latest
with:
repo: auto-determine
branch: auto-determine
gh-event-file: "1"
add-layer: "0"
- name: checkout (meta-openembedded)
uses: priv-kweihmann/meta-sca-ci-utils/addlayer@latest
with:
repo: git://git.openembedded.org/meta-openembedded
ref: ff9ea69ab6549b4464daad31cd5fdd8cf1610670
branch: none
add-layer: "0"
- name: configure (caches)
id: caches
uses: actions/cache@v3
with:
path: /opt/build/sstate-cache
key: rubygems-arm64-glibc-${{ env.SCM_BRANCH }}-${{ github.base_ref }}
restore-keys: |
rubygems-arm64-glibc-${{ env.SCM_BRANCH }}-
- name: configure (caches fallback)
if: ${{ ! steps.caches.outputs.cache-hit }}
run: |
mkdir -p /opt/build/sstate-cache
- name: activate (caches)
uses: priv-kweihmann/meta-sca-ci-utils/addvar@latest
with:
variable: SSTATE_DIR
value: "${WORKSPACE}/sstate-cache"
- name: build (glibc)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: glibc
ignore-exit-codes: 124 137
- name: build (kernel)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: linux-yocto
ignore-exit-codes: 124 137
- name: build (qemu-system)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: qemu-system-native
ignore-exit-codes: 124 137
- name: build (tools 1st part)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: "openssl perl"
ignore-exit-codes: 124 137
- name: build (tools 2nd part)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: "ruby gmp yajl libxml2 libxslt krb5 libffi"
ignore-exit-codes: 124 137
- name: build (core-image-minimal-rubygems)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: core-image-minimal-rubygems
ignore-exit-codes: 124 137
- name: test (core-image-minimal-rubygems)
uses: priv-kweihmann/meta-sca-ci-utils/testimage@latest
with:
target: core-image-minimal-rubygems
tapgen: "0"
- name: print disk usage
if: always()
uses: priv-kweihmann/meta-sca-ci-utils/diskusage@latest