Skip to content

Merge pull request #103 from amrathesh/ethtool-int #20

Merge pull request #103 from amrathesh/ethtool-int

Merge pull request #103 from amrathesh/ethtool-int #20

Workflow file for this run

name: Build IR 2.0 ACS image
on:
push:
branches: # trigger on push to master
- main
pull_request: # trigger on pull requests to master
branches:
- main
schedule:
- cron: '30 17 * * *' # Runs everyday at 11 PM IST (17:30 UTC)
jobs:
build_image:
name: Build IR 2.0 ACS 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@v3
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 IR/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-ir-live-image.sh
- uses: actions/upload-artifact@v3
with:
name: ir-acs-live-image-generic-arm64.wic.xz
path: IR/Yocto/meta-woden/build/tmp/deploy/images/generic-arm64/ir-acs-live-image-generic-arm64.wic.xz
if-no-files-found: error