From c0dc5d265253820923edad8322556818f38669d4 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Mon, 2 Sep 2024 01:50:39 +0300 Subject: [PATCH] CI for kernel module --- .github/workflows/build-ci.yml | 106 +++++++++++++++++---------------- 1 file changed, 54 insertions(+), 52 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 3c902c1..66f386f 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -108,31 +108,31 @@ jobs: branch: - openwrt-23.05 arch: - # - aarch64_cortex-a53 - # - aarch64_cortex-a72 - # - aarch64_generic - # - arm_arm1176jzf-s_vfp - # - arm_arm926ej-s - # - arm_cortex-a15_neon-vfpv4 - # - arm_cortex-a5_vfpv4 - # - arm_cortex-a7 - # - arm_cortex-a7_neon-vfpv4 - # - arm_cortex-a7_vfpv4 - # - arm_cortex-a8_vfpv3 - # - arm_cortex-a9 - # - arm_cortex-a9_neon - # - arm_cortex-a9_vfpv3-d16 - # - arm_fa526 - # - arm_mpcore - # - arm_xscale - # - mips64_octeonplus - # - mips_24kc - # - mips_4kec - # - mips_mips32 - # - mipsel_24kc - # - mipsel_24kc_24kf - # - mipsel_74kc - # - mipsel_mips32 + - aarch64_cortex-a53 + - aarch64_cortex-a72 + - aarch64_generic + - arm_arm1176jzf-s_vfp + - arm_arm926ej-s + - arm_cortex-a15_neon-vfpv4 + - arm_cortex-a5_vfpv4 + - arm_cortex-a7 + - arm_cortex-a7_neon-vfpv4 + - arm_cortex-a7_vfpv4 + - arm_cortex-a8_vfpv3 + - arm_cortex-a9 + - arm_cortex-a9_neon + - arm_cortex-a9_vfpv3-d16 + - arm_fa526 + - arm_mpcore + - arm_xscale + - mips64_octeonplus + - mips_24kc + - mips_4kec + - mips_mips32 + - mipsel_24kc + - mipsel_24kc_24kf + - mipsel_74kc + - mipsel_mips32 - x86_64 container: image: openwrt/sdk:${{ matrix.arch }}-${{ matrix.branch }} @@ -192,32 +192,33 @@ jobs: - branch: openwrt-19.07 wd_path: /home/build/openwrt arch: - # - aarch64_cortex-a53 - # - aarch64_cortex-a72 - # - aarch64_generic - # - arm_arm1176jzf-s_vfp - # - arm_arm926ej-s - # - arm_cortex-a15_neon-vfpv4 - # - arm_cortex-a5_vfpv4 - # - arm_cortex-a7 - # - arm_cortex-a7_neon-vfpv4 - # - arm_cortex-a7_vfpv4 - # - arm_cortex-a8_vfpv3 - # - arm_cortex-a9 - # - arm_cortex-a9_neon - # - arm_cortex-a9_vfpv3-d16 - # - arm_fa526 - # - arm_mpcore - # - arm_xscale - # - mips64_octeonplus - # - mips_24kc - # - mips_4kec - # - mips_mips32 + - aarch64_cortex-a53 + - aarch64_cortex-a72 + - aarch64_generic + - arm_arm1176jzf-s_vfp + - arm_arm926ej-s + - arm_cortex-a15_neon-vfpv4 + - arm_cortex-a5_vfpv4 + - arm_cortex-a7 + - arm_cortex-a7_neon-vfpv4 + - arm_cortex-a7_vfpv4 + - arm_cortex-a8_vfpv3 + - arm_cortex-a9 + - arm_cortex-a9_neon + - arm_cortex-a9_vfpv3-d16 + - arm_fa526 + - arm_mpcore + - arm_xscale + - mips64_octeonplus + - mips_24kc + - mips_4kec + - mips_mips32 - mipsel_24kc - # - mipsel_24kc_24kf - # - mipsel_74kc - # - mipsel_mips32 - # - x86_64 + - mipsel_24kc_24kf + - mipsel_74kc + - mipsel_mips32 + - ramips/mt76x8 + - x86_64 container: image: openwrt/sdk:${{ matrix.arch }}-${{ matrix.branch }} options: --user root @@ -248,14 +249,14 @@ jobs: ./scripts/feeds install -a -p youtubeUnblock make defconfig make package/kyoutubeUnblock/compile V=s - cp $(find ./bin -type f -name 'youtubeUnblock*.ipk') ./ + cp $(find ./bin -type f -name 'kmod-youtubeUnblock*.ipk') ./ - name: Upload packages if: steps.build.outcome == 'success' uses: actions/upload-artifact@v4 with: name: ${{ matrix.branch }}-${{ matrix.arch }} - path: ${{ matrix.wd_path }}/youtubeUnblock*.ipk + path: ${{ matrix.wd_path }}/kmod-youtubeUnblock*.ipk if-no-files-found: error build-entware: @@ -369,4 +370,5 @@ jobs: title: 'Development build' files: | ./**/youtubeUnblock*.ipk + ./**/kmod-youtubeUnblock*.ipk ./**/youtubeUnblock*.tar.gz