Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaserver authored Oct 7, 2024
1 parent 51dce76 commit 51f6b5f
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,33 +39,10 @@ jobs:
- name: Set Matrix Run
id: set-matrix
run: |
sudo apt-get -qq update
sudo apt-get -qq install jq
if [ "${{ inputs.arch }}" == "all" ]; then
allarch=(
"arm_cortex-a5_vfpv4"
"arm_cortex-a7_neon-vfpv4"
"arm_cortex-a8_vfpv3"
"arm_cortex-a9"
"arm_cortex-a9_vfpv3-d16"
"arm_cortex-a9_neon"
"arm_cortex-a15_neon-vfpv4"
"aarch64_cortex-a53"
"aarch64_cortex-a72"
"aarch64_generic"
"mips_24kc"
"mips_4kec"
"mips_mips32"
"mipsel_24kc"
"mipsel_24kc_24kf"
"mipsel_74kc"
"mips64_octeonplus"
"i386_pentium4"
"x86_64"
)
echo "arch=$(printf '%s\n' "${allarch[@]}" | jq -R . | jq -s .)" >> $GITHUB_OUTPUT
if [ "${{ inputs.target }}" == "all" ]; then
echo "target=['arm_cortex-a5_vfpv4','arm_cortex-a7_neon-vfpv4','arm_cortex-a8_vfpv3','arm_cortex-a9','arm_cortex-a9_vfpv3-d16','arm_cortex-a9_neon','arm_cortex-a15_neon-vfpv4','aarch64_cortex-a53','aarch64_cortex-a72','aarch64_generic','mips_24kc','mips_4kec','mips_mips32','mipsel_24kc','mipsel_24kc_24kf','mipsel_74kc','mips64_octeonplus','i386_pentium4','x86_64']" >> $GITHUB_OUTPUT
else
echo "arch=[\"${{ inputs.arch }}\"]" >> $GITHUB_OUTPUT
echo "target=['${{ inputs.target }}']" >> $GITHUB_OUTPUT
fi
build:
Expand Down

0 comments on commit 51f6b5f

Please sign in to comment.