Skip to content

Commit e5a1cd7

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

File tree

1 file changed

+2
-49
lines changed

1 file changed

+2
-49
lines changed

.github/workflows/debos.yml

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

0 commit comments

Comments
 (0)