add sc598 configs for development #28
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 artifacts | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: self-hosted | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| defconfig: | |
| - adi_sc598_ezkit_defconfig | |
| steps: | |
| - name: Checkout br2-external | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Cache download directory | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.buildroot-dl | |
| key: ${{ runner.os }}-buildroot-dl-${{ matrix.defconfig }}-${{ hashFiles('Makefile') }} | |
| restore-keys: ${{ runner.os }}-buildroot-dl-${{ matrix.defconfig }}- | |
| - name: Cache ccache directory | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.buildroot-ccache | |
| key: ${{ runner.os }}-ccache-${{ matrix.defconfig }}-${{ hashFiles('Makefile') }} | |
| restore-keys: ${{ runner.os }}-ccache-${{ matrix.defconfig }}- | |
| - name: Build image for ${{ matrix.defconfig }} | |
| run: | | |
| cd buildroot | |
| make BR2_EXTERNAL="${PWD}/.." ${{ matrix.defconfig }} | |
| support/kconfig/merge_config.sh .config \ | |
| ../configs/buildroot.fragment \ | |
| ../configs/debug.fragment | |
| make -j$(nproc) | |
| - name: Upload Buildroot images for ${{ matrix.defconfig }} | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: images-${{ matrix.defconfig }} | |
| path: buildroot/output/images |