From 4f1737982efdc395b9bac9789d9017e394ee9af5 Mon Sep 17 00:00:00 2001 From: Isaac True Date: Thu, 7 Sep 2023 10:16:28 +0200 Subject: [PATCH] ERL-270: github: workflows: nemos-images: add s32g274ardb2 build action Signed-off-by: Isaac True --- .github/workflows/nemos-images.yaml | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/nemos-images.yaml b/.github/workflows/nemos-images.yaml index 89edcb2..f0d1e82 100644 --- a/.github/workflows/nemos-images.yaml +++ b/.github/workflows/nemos-images.yaml @@ -85,6 +85,41 @@ jobs: with: name: "nemos-image-${{ matrix.config }}-${{ matrix.series }}-arm64" path: "nemos-image-${{ matrix.config }}-${{ matrix.series }}-arm64.qcow2" + s32g274ardb2: + runs-on: "ubuntu-latest" + strategy: + matrix: + series: + - lunar + - mantic + config: + - minimal + - reference + steps: + - name: "Checkout" + uses: "actions/checkout@v3" + - name: "Update system packages" + run: | + sudo apt update + sudo DEBIAN_FRONTEND="noninteractive" \ + apt full-upgrade -y + - name: "Setup Kiwi PPA" + run: | + sudo apt install -y software-properties-common + sudo add-apt-repository -y ppa:nemos-team/kiwi + - name: "Install Kiwi" + run: | + sudo DEBIAN_FRONTEND="noninteractive" \ + apt install -y kiwi kiwi-systemdeps python3-kiwi-boxed-plugin \ + qemu-system-arm + - name: "Run Kiwi" + run: | + sudo kiwi-ng --debug --profile bootstrapped \ + system boxbuild \ + --box ubuntu --aarch64 --machine=virt --no-accel --cpu cortex-a53 \ + --box-memory=$(( 2 * 1024 )) --box-smp-cpus=2 -- \ + --target-dir build \ + --description nemos-images-${{ matrix.config }}-${{ matrix.series }}/s32g274ardb2/ spread: runs-on: "ubuntu-latest"