Skip to content

Commit

Permalink
CI: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hnez committed Jul 25, 2024
1 parent 09710c6 commit a4291c0
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,29 @@ jobs:
name: build
runs-on: [self-hosted, forrest, build]
steps:
- run: sudo localectl set-locale en_US.UTF-8
- run: sudo apt-get update
- run: sudo apt-get --assume-yes dist-upgrade
- run: sudo apt-get --assume-yes install build-essential chrpath diffstat gawk git lz4
- uses: actions/checkout@v4
- 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
- run: |
- name: Build LXA TAC RAUC bundle
run: |
rm -f conf/local.conf
source oe-init-build-env
echo 'INHERIT += "rm_work"' >> conf/local.conf
bitbake lxatac-core-bundle-base
#bitbake lxatac-core-bundle-base
bitbake emmc-boot-image
- name: Persist the disk image
env:
PERSISTENCE_TOKEN: ${{ secrets.PERSISTENCE_TOKEN }}
run: echo "$PERSISTENCE_TOKEN" > ~/config/persist
- name: Free up unused space in the disk image
run: sudo fstrim /
run: |
if [ -n "$PERSISTENCE_TOKEN" ]
then
sudo fstrim /
echo "$PERSISTENCE_TOKEN" > ~/config/persist
fi

0 comments on commit a4291c0

Please sign in to comment.