add sc598 configs for development #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build ADI br2-external | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| BR2_DL_DIR: $HOME/.buildroot-dl | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout br2-external | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Buildroot dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| build-essential git gcc g++ make bc unzip file rsync \ | |
| cpio wget python3 | |
| - name: Prepare Buildroot download dir | |
| run: mkdir -p "$BR2_DL_DIR" | |
| - name: Cache Buildroot downloads | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.BR2_DL_DIR }} | |
| key: ${{ runner.os }}-buildroot-dl-${{ hashFiles('**/configs/*.fragment', '**/configs/*.defconfig') }} | |
| restore-keys: | | |
| ${{ runner.os }}-buildroot-dl- | |
| - name: Build ADI SC598 EZ-Kit image | |
| run: | | |
| cd buildroot | |
| make BR2_EXTERNAL="${GITHUB_WORKSPACE}" adi_sc598_ezkit_defconfig | |
| support/kconfig/merge_config.sh .config \ | |
| "${GITHUB_WORKSPACE}/configs/buildroot.fragment" \ | |
| "${GITHUB_WORKSPACE}/configs/debug.fragment" | |
| make -j$(nproc) | |
| - name: Upload Buildroot output images | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: buildroot-images | |
| path: buildroot/output/images | |
| - name: Upload build logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-logs | |
| path: buildroot/output/build |