Skip to content

Commit 2887a13

Browse files
authored
Merge pull request qualcomm-linux#342 from gagath/ci-use-makefile-targets
ci: use makefile targets
2 parents 5f72a49 + f846915 commit 2887a13

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/debos.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,13 @@ jobs:
127127
# qemu backend also requires to set scratchsize, otherwise the
128128
# whole build is done from memory and the out of memory killer
129129
# gets triggered
130-
debos -b qemu --scratchsize 6GiB -t imagetype:ufs \
131-
${DEBOS_EXTRA_ARGS} \
132-
--print-recipe \
133-
debos-recipes/qualcomm-linux-debian-image.yaml
134-
debos -b qemu --scratchsize 6GiB -t imagetype:sdcard \
135-
${DEBOS_EXTRA_ARGS} \
136-
--print-recipe \
137-
debos-recipes/qualcomm-linux-debian-image.yaml
130+
make disk-ufs.img FAKEMACHINE_OPTS="-b qemu" EXTRA_DEBOS_OPTS="--print-recipe ${DEBOS_EXTRA_ARGS}"
131+
make disk-sdcard.img FAKEMACHINE_OPTS="-b qemu" EXTRA_DEBOS_OPTS="--print-recipe ${DEBOS_EXTRA_ARGS}"
138132
139133
- name: Build flashable files with debos
140134
run: |
141135
set -ux
142-
debos \
143-
-t u_boot_rb1:rb1-boot.img \
144-
-t "buildid:${BUILD_ID}" \
145-
${DEBOS_EXTRA_ARGS} \
146-
--print-recipe \
147-
debos-recipes/qualcomm-linux-debian-flash.yaml
136+
make flash FAKEMACHINE_OPTS="-b qemu" EXTRA_DEBOS_OPTS="-t u_boot_rb1:rb1-boot.img -t buildid:${BUILD_ID} --print-recipe ${DEBOS_EXTRA_ARGS}"
148137
149138
- name: Stage debos artifacts for publishing
150139
run: |

0 commit comments

Comments
 (0)