Skip to content

Commit c0b3b9f

Browse files
committed
ci: optimize workflow build times with parallel make
1 parent 5daf076 commit c0b3b9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
make ${UBOOT_DEFCONFIG} || exit $?
119119
# disable prebuilt
120120
sed -i 's/^CONFIG_UBOOT_USE_PREBUILT=y$/CONFIG_UBOOT_USE_PREBUILT=n/' ${{ github.workspace }}/canmv_k230/.config
121-
make uboot || exit $?
121+
make -j8 uboot || exit $?
122122
123123
# Also copy artifacts to artifacts folder
124124
cp ${{ github.workspace }}/canmv_k230/output/${UBOOT_DEFCONFIG}/uboot/u-boot.bin ~/artifacts/${base_name}/u-boot.bin || { echo "u-boot.bin missing"; exit $?; }
@@ -131,7 +131,7 @@ jobs:
131131
# disable prebuilt
132132
sed -i 's/^CONFIG_UBOOT_USE_PREBUILT=y$/CONFIG_UBOOT_USE_PREBUILT=n/' ${{ github.workspace }}/canmv_k230/.config
133133
134-
make uboot || exit $?
134+
make -j8 uboot || exit $?
135135
136136
cp ${{ github.workspace }}/canmv_k230/output/${UBOOT_DEFCONFIG}/uboot/spl/u-boot-spl.bin ~/artifacts/${base_name}/u-boot-spl-fastboot.bin || { echo "u-boot-spl-fastboot missing"; exit $?; }
137137
done

0 commit comments

Comments
 (0)