Skip to content

Commit a02aac3

Browse files
committed
Temporarily simplify build
Signed-off-by: Loïc Minier <[email protected]>
1 parent 4722960 commit a02aac3

File tree

1 file changed

+2
-34
lines changed

1 file changed

+2
-34
lines changed

.github/workflows/debos.yml

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -64,28 +64,8 @@ jobs:
6464
- name: Build rootfs with debos
6565
run: |
6666
set -ux
67-
debos -t xfcedesktop:true -t localdebs:local-debs/ \
68-
debos-recipes/qualcomm-linux-debian-rootfs.yaml
69-
70-
- name: Build UFS and SD card images with debos
71-
run: |
72-
set -ux
73-
# debos tries KVM and UML as backends, and falls back to
74-
# building directly on the host, but that requires loop
75-
# devices; use qemu backend explicitly even if it's slower;
76-
# qemu backend also requires to set scratchsize, otherwise the
77-
# whole build is done from memory and the out of memory killer
78-
# gets triggered
79-
debos -b qemu --scratchsize 4GiB -t imagetype:ufs \
80-
debos-recipes/qualcomm-linux-debian-image.yaml
81-
debos -b qemu --scratchsize 4GiB -t imagetype:sdcard \
82-
debos-recipes/qualcomm-linux-debian-image.yaml
83-
84-
- name: Build flashable files with debos
85-
run: |
86-
set -ux
87-
debos -t u_boot_rb1:rb1-boot.img \
88-
debos-recipes/qualcomm-linux-debian-flash.yaml
67+
debos -t xfcedesktop:false -t localdebs:local-debs/ \
68+
debos-recipes/qualcomm-linux-debian-rootfs.yaml
8969
9070
- name: Stage debos artifacts for publishing
9171
run: |
@@ -95,18 +75,6 @@ jobs:
9575
mkdir -vp "${BUILD_DIR}"
9676
# copy output files
9777
cp -av rootfs.tar.gz "${BUILD_DIR}"
98-
cp -av dtbs.tar.gz "${BUILD_DIR}"
99-
cp -av disk-ufs.img.gz "${BUILD_DIR}"
100-
cp -av disk-sdcard.img.gz "${BUILD_DIR}"
101-
# TODO: separate flash_* directories between UFS and eMMC
102-
tar -cvf "${BUILD_DIR}"/flash-ufs.tar.gz \
103-
disk-ufs.img1 \
104-
disk-ufs.img2 \
105-
flash_rb3*
106-
tar -cvf "${BUILD_DIR}"/flash-emmc.tar.gz \
107-
disk-sdcard.img1 \
108-
disk-sdcard.img2 \
109-
flash_rb1*
11078
11179
- name: Upload private artifacts
11280
uses: qualcomm-linux/upload-private-artifact-action@v1

0 commit comments

Comments
 (0)