Skip to content

board/adi/ev-sc598-som: support SPI NAND #105

board/adi/ev-sc598-som: support SPI NAND

board/adi/ev-sc598-som: support SPI NAND #105

Workflow file for this run

name: Build ADI artifacts
on:
workflow_dispatch:
pull_request:
release:
types: [published]
env:
BR2_DL_DIR: ~/.buildroot-dl
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
defconfig:
- adi_sc598_ezkit_defconfig
flavor:
- debug
- bootstrap
steps:
- name: Checkout br2-external
uses: actions/checkout@v6
with:
submodules: recursive
- name: Build image for ${{ matrix.defconfig }} with ${{ matrix.flavor }} configuration
run: |
cd buildroot
make distclean
make BR2_EXTERNAL="${PWD}/.." ${{ matrix.defconfig }}
support/kconfig/merge_config.sh .config \
../configs/buildroot.fragment \
../configs/${{ matrix.flavor }}.fragment
make -j$(nproc)
- name: Upload Buildroot images for ${{ matrix.defconfig }} with ${{ matrix.flavor }} configuration
uses: actions/upload-artifact@v6
with:
name: images-${{ matrix.flavor }}-${{ matrix.defconfig }}
path: buildroot/output/images
- name: Archive output images directory
if: ${{ github.event_name == 'release' }}
run: |
tar -cJvf images-${{ matrix.flavor }}-${{ matrix.defconfig }}-${{ github.event.release.tag_name }}.tar.xz \
buildroot/output/images/
- name: Upload release archive to release
uses: svenstaro/upload-release-action@v2
if: ${{ github.event_name == 'release' }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: images-${{ matrix.flavor }}-${{ matrix.defconfig }}-${{ github.event.release.tag_name }}.tar.xz
tag: ${{ github.ref }}