Skip to content

Commit 17228b4

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

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

.github/workflows/debos.yml

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -73,54 +73,9 @@ jobs:
7373
run: apt -y install debos mtools
7474

7575
- name: Build rootfs with debos
76-
run: debos -t xfcedesktop:true -t localdebs:local-debs/ \
76+
run: debos -t xfcedesktop:false -t localdebs:local-debs/ \
7777
debos-recipes/qualcomm-linux-debian-rootfs.yaml
7878

79-
- name: Build UFS and SD card images with debos
80-
run: |
81-
set -ux
82-
# debos tries KVM and UML as backends, and falls back to
83-
# building directly on the host, but that requires loop
84-
# devices; use qemu backend explicitly even if it's slower;
85-
# qemu backend also requires to set scratchsize, otherwise the
86-
# whole build is done from memory and the out of memory killer
87-
# gets triggered
88-
debos -b qemu --scratchsize 4GiB -t imagetype:ufs \
89-
debos-recipes/qualcomm-linux-debian-image.yaml
90-
debos -b qemu --scratchsize 4GiB -t imagetype:sdcard \
91-
debos-recipes/qualcomm-linux-debian-image.yaml
92-
93-
- name: Build flashable files with debos
94-
run: debos -t u_boot_rb1:rb1-boot.img \
95-
debos-recipes/qualcomm-linux-debian-flash.yaml
96-
97-
- name: Upload artifacts to fileserver space for builds
98-
run: |
99-
set -ux
100-
# curl will be used to talk to fileserver; should be installed by
101-
# default
102-
apt -y install curl
103-
# create a directory for the current run
104-
dir="/fileserver-builds/${BUILD_ID}"
105-
mkdir -vp "${dir}"
106-
# copy output files
107-
cp -av rootfs.tar.gz "${dir}"
108-
cp -av dtbs.tar.gz "${dir}"
109-
cp -av disk-ufs.img.gz "${dir}"
110-
cp -av disk-sdcard.img.gz "${dir}"
111-
# TODO: separate flash_* directories between UFS and eMMC
112-
tar -cvf "${dir}"/flash-ufs.tar.gz \
113-
disk-ufs.img1 \
114-
disk-ufs.img2 \
115-
flash_rb3*
116-
tar -cvf "${dir}"/flash-emmc.tar.gz \
117-
disk-sdcard.img1 \
118-
disk-sdcard.img2 \
119-
flash_rb1*
120-
# instruct fileserver to publish this directory
121-
url="${FILESERVER_URL}/${BUILD_ID}/"
122-
curl -X POST -H 'Accept: text/event-stream' "${url}"
123-
12479
- name: Upload artifacts to fileserver space for downloads
12580
run: |
12681
set -ux

0 commit comments

Comments
 (0)