Skip to content

Merge "develop" into Projects/MH11C-MistyVision #249

Merge "develop" into Projects/MH11C-MistyVision

Merge "develop" into Projects/MH11C-MistyVision #249

Workflow file for this run

name: Build Yocto Image
on:
push:
branches: [ "master", "develop", "Projects/**" ]
paths: [ "Build/**", '!**.md', '!**.pdf', '!**.yml' ]
pull_request:
branches: [ "master", "develop", "Projects/**" ]
paths: [ "Build/**", '!**.md', '!**.pdf', '!**.yml' ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-yocto:
runs-on: DC02
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- name: Build the Docker image
working-directory: ./Build
run: ./build.sh;
- name: Run the Docker container and build output files
working-directory: ./Build
run: ./run.sh -c /home/github/rzv2l-cache
- name: Clean extra rpm packages
working-directory: ./Build/output/rpm/aarch64
run: |
rm -rf *-dbg-*.rpm
rm -rf *-dev-*.rpm
rm -rf *-staticdev-*.rpm
rm -rf *-doc-*.rpm
rm -rf *-src-*.rpm
- name: Pack rpm packages in a tarball
working-directory: ./Build/output/
run: tar -cf rpm.tar rpm
- name: Upload image artifact
uses: actions/[email protected]
with:
name: output-image
compression-level: 0
path: Build/output/images/smarc-rzv2l/mistysom-image-smarc-rzv2l.wic.bz2
- name: Upload rpms artifact
uses: actions/[email protected]
with:
name: output-rpms
compression-level: 0
path: Build/output/rpm.tar