1717 matrix :
1818 defconfig :
1919 - adi_sc598_ezkit_defconfig
20+ flavor :
21+ - debug
22+ - bootstrap
2023
2124 steps :
2225 - name : Checkout br2-external
@@ -38,37 +41,37 @@ jobs:
3841 key : ${{ runner.os }}-ccache-${{ matrix.defconfig }}
3942 restore-keys : ${{ runner.os }}-ccache-
4043
41- - name : Build image for ${{ matrix.defconfig }}
44+ - name : Build image for ${{ matrix.defconfig }} with ${{ matrix.flavor }} configuration
4245 run : |
4346 cd buildroot
47+ make distclean
4448 make BR2_EXTERNAL="${PWD}/.." ${{ matrix.defconfig }}
4549 support/kconfig/merge_config.sh .config \
4650 ../configs/buildroot.fragment \
47- ../configs/debug .fragment
51+ ../configs/${{ matrix.flavor }} .fragment
4852 make -j$(nproc)
4953
5054 - name : Fetch u-boot.gdb helper script
5155 run : |
5256 cd buildroot/output/images
5357 curl -L https://raw.githubusercontent.com/analogdevicesinc/documentation/refs/heads/main/docs/products/adsp/u-boot.gdb -o u-boot.gdb
5458
55- - name : Upload Buildroot images for ${{ matrix.defconfig }}
56- if : success()
59+ - name : Upload Buildroot images for ${{ matrix.defconfig }} with ${{ matrix.flavor }} configuration
5760 uses : actions/upload-artifact@v4
5861 with :
59- name : images-${{ matrix.defconfig }}
62+ name : images-${{ matrix.flavor }}-${{ matrix. defconfig }}
6063 path : buildroot/output/images
6164
6265 - name : Archive output images directory
6366 if : ${{ github.event_name == 'release' }}
6467 run : |
65- tar -cJvf images-${{ matrix.defconfig }}-${{ github.event.release.tag_name }}.tar.xz \
68+ tar -cJvf images-${{ matrix.flavor }}-${{ matrix. defconfig }}-${{ github.event.release.tag_name }}.tar.xz \
6669 buildroot/output/images/
6770
6871 - name : Upload release archive to release
6972 uses : svenstaro/upload-release-action@v2
7073 if : ${{ github.event_name == 'release' }}
7174 with :
7275 repo_token : ${{ secrets.GITHUB_TOKEN }}
73- file : images-${{ matrix.defconfig }}-${{ github.event.release.tag_name }}.tar.xz
76+ file : images-${{ matrix.flavor }}-${{ matrix. defconfig }}-${{ github.event.release.tag_name }}.tar.xz
7477 tag : ${{ github.ref }}
0 commit comments