SystemReady-devicetree band Daily-Build #21
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
name: SystemReady-devicetree band Daily-Build | |
on: | |
schedule: | |
- cron: '30 17 * * *' # Runs everyday at 11 PM IST | |
workflow_dispatch: # to dispatch from Github Actions | |
jobs: | |
SystemReady-devicetree_Build: | |
name: SystemReady-devicetree band Daily Build Image | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
env: | |
- ARCH: x86_64 | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@master | |
with: | |
remove-dotnet: 'true' | |
remove-android: 'true' | |
remove-haskell: 'true' | |
remove-codeql: 'true' | |
remove-docker-images: 'true' | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Start building | |
run: | |
sudo -s; | |
git config --global user.name "arm-systemready"; | |
git config --global user.email "[email protected]"; | |
cd SystemReady-devicetree-band/Yocto; | |
./build-scripts/get_source.sh; | |
sed -i 's/if 0 == os.getuid/if 1 == os.getuid/' meta-woden/poky/meta/classes-global/sanity.bbclass; | |
./build-scripts/build-systemready-dt-band-live-image.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: systemready-dt_acs_live_image.wic.xz | |
path: SystemReady-devicetree-band/Yocto/meta-woden/build/tmp/deploy/images/generic-arm64/systemready-dt_acs_live_image.wic.xz | |
if-no-files-found: error |