Skip to content

CI: build the full image again #11

CI: build the full image again

CI: build the full image again #11

Workflow file for this run

name: build
on:
pull_request:
push:
schedule:
- cron: '10 21 * * 4'
jobs:
build:
name: build
runs-on: [self-hosted, forrest, build]
steps:
- name: Set up runner machine
run: |
sudo localectl set-locale en_US.UTF-8
sudo apt-get update
sudo apt-get --assume-yes dist-upgrade
sudo apt-get --assume-yes install build-essential chrpath diffstat gawk git lz4
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: recursive
path: git
- name: Build LXA TAC RAUC bundle
run: |
rm -f build/conf/local.conf
cd git
source oe-init-build-env ../build
echo 'INHERIT += "rm_work"' >> conf/local.conf
bitbake lxatac-core-bundle-base
- name: Persist the disk image
env:
PERSISTENCE_TOKEN: ${{ secrets.PERSISTENCE_TOKEN }}
run: |
if [ -n "$PERSISTENCE_TOKEN" ]
then
sudo fstrim /
echo "$PERSISTENCE_TOKEN" > ~/config/persist
fi