6 - '.github/workflows/check-kernel-patches.yml'
7 - '.github/workflows/build.yml'
8 - '.github/workflows/kernel.yml'
11 - 'target/linux/generic/**'
14 - '.github/workflows/check-kernel-patches.yml'
15 - '.github/workflows/build.yml'
16 - '.github/workflows/kernel.yml'
19 - 'target/linux/generic/**'
27 runs-on: ubuntu-latest
29 target: ${{ steps.find_targets.outputs.target }}
33 uses: actions/checkout@v3
38 export TARGETS="$(perl ./scripts/dump-target-info.pl targets 2>/dev/null \
39 | sort -u -t '/' -k1,1 \
40 | awk '{ print $1 }')"
44 for TARGET in $TARGETS; do
45 [[ $FIRST -ne 1 ]] && JSON="$JSON"','
46 JSON="$JSON"'"'"${TARGET}"'"'
51 echo -e "\n---- targets ----\n"
53 echo -e "\n---- targets ----\n"
55 echo "target=$JSON" >> $GITHUB_OUTPUT
58 name: Build Kernel with external toolchain
59 needs: determine_targets
66 target: ${{fromJson(needs.determine_targets.outputs.target)}}
67 uses: ./.github/workflows/build.yml
69 target: ${{ matrix.target }}
73 name: Check Kernel patches
74 needs: determine_targets
81 target: ${{fromJson(needs.determine_targets.outputs.target)}}
82 uses: ./.github/workflows/check-kernel-patches.yml
84 target: ${{ matrix.target }}