6 - '.github/workflows/build.yml'
7 - '.github/workflows/toolchain.yml'
11 - '.github/workflows/build.yml'
12 - '.github/workflows/toolchain.yml'
21 group: ${{ github.workflow }}-${{ github.ref }}
22 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
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 TUPLE='{"target":"'"$(echo $TARGET | cut -d "/" -f 1)"'","subtarget":"'"$(echo $TARGET | cut -d "/" -f 2)"'"}'
46 [[ $FIRST -ne 1 ]] && JSON="$JSON"','
52 echo -e "\n---- targets ----\n"
54 echo -e "\n---- targets ----\n"
56 echo "target=$JSON" >> $GITHUB_OUTPUT
59 name: Build Target Toolchain
60 needs: determine_targets
68 include: ${{fromJson(needs.determine_targets.outputs.target)}}
69 uses: ./.github/workflows/build.yml
71 target: ${{ matrix.target }}
72 subtarget: ${{ matrix.subtarget }}