Skip to content

Commit 75e11cb

Browse files
circleci: add xx20 maximized builds
1 parent 5b898e3 commit 75e11cb

1 file changed

Lines changed: 56 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 56 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Install dependencies
99
command: |
1010
apt update
11-
apt install -y build-essential zlib1g-dev uuid-dev libdigest-sha-perl libelf-dev bc bzip2 bison flex git gnupg iasl m4 nasm patch python wget gnat cpio ccache pkg-config cmake libusb-1.0-0-dev autoconf texinfo ncurses-dev doxygen graphviz udev libudev1 libudev-dev automake libtool rsync innoextract
11+
apt install -y build-essential zlib1g-dev uuid-dev libdigest-sha-perl libelf-dev bc bzip2 bison flex git gnupg iasl m4 nasm patch python python2 python3 wget gnat cpio ccache pkg-config cmake libusb-1.0-0-dev autoconf texinfo ncurses-dev doxygen graphviz udev libudev1 libudev-dev automake libtool rsync innoextract
1212
- checkout
1313

1414
- run:
@@ -76,7 +76,7 @@ jobs:
7676
tar zcvf build/kgpe-d16_workstation/logs.tar.gz build/log/*
7777
- store-artifacts:
7878
path: build/kgpe-d16_workstation
79-
79+
8080
- run:
8181
name: kgpe-d16_workstation-usb_keyboard
8282
command: |
@@ -136,7 +136,7 @@ jobs:
136136
rm -rf build/librem_l1um/* build/log/* && make CPUS=4 V=1 BOARD=librem_l1um || touch /tmp/failed_build
137137
no_output_timeout: 3h
138138
- run:
139-
name: Output build failing logs
139+
name: Output build failing logs
140140
command: |
141141
if [[ -f /tmp/failed_build ]]; then find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1;else echo "Not failing. Continuing..."; fi \
142142
- run:
@@ -190,6 +190,54 @@ jobs:
190190
- store-artifacts:
191191
path: build/librem_mini_v2
192192

193+
- run:
194+
name: Download and neuter xx20 ME (keep generated GBE and extracted IFD in tree)
195+
command: |
196+
./blobs/xx20/download_parse_me.sh
197+
- run:
198+
name: x220-maximized
199+
command: |
200+
rm -rf build/x220-maximized/* build/log/* && make CPUS=4 V=1 BOARD=x220-maximized || touch /tmp/failed_build
201+
no_output_timeout: 3h
202+
- run:
203+
name: Output build failing logs
204+
command: |
205+
if [[ -f /tmp/failed_build ]]; then find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1;else echo "Not failing. Continuing..."; fi \
206+
- run:
207+
name: Output x220-maximized hashes
208+
command: |
209+
cat build/x220-maximized/hashes.txt \
210+
- run:
211+
name: Archiving build logs for x220-maximized
212+
command: |
213+
tar zcvf build/x220-maximized/logs.tar.gz ./build/log/*
214+
- store-artifacts:
215+
path: build/x220-maximized
216+
217+
- run:
218+
name: Download and neuter xx20 ME (keep generated GBE and extracted IFD in tree)
219+
command: |
220+
./blobs/xx20/download_parse_me.sh
221+
- run:
222+
name: t420-maximized
223+
command: |
224+
rm -rf build/t420-maximized/* build/log/* && make CPUS=4 V=1 BOARD=t420-maximized || touch /tmp/failed_build
225+
no_output_timeout: 3h
226+
- run:
227+
name: Output build failing logs
228+
command: |
229+
if [[ -f /tmp/failed_build ]]; then find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1;else echo "Not failing. Continuing..."; fi
230+
- run:
231+
name: Output t420-maximized hashes
232+
command: |
233+
cat build/t420-maximized/hashes.txt \
234+
- run:
235+
name: Archiving build logs for t420-maximized
236+
command: |
237+
tar zcvf build/t420-maximized/logs.tar.gz ./build/log/*
238+
- store-artifacts:
239+
path: build/t420-maximized
240+
193241
- run:
194242
name: x230-flash
195243
command: |
@@ -311,7 +359,7 @@ jobs:
311359
path: build/x230-nkstorecli
312360

313361
- run:
314-
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
362+
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
315363
command: |
316364
./blobs/xx30/download_clean_me.sh
317365
- run:
@@ -335,7 +383,7 @@ jobs:
335383
path: build/x230-maximized
336384

337385
- run:
338-
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
386+
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
339387
command: |
340388
./blobs/xx30/download_clean_me.sh
341389
- run:
@@ -359,7 +407,7 @@ jobs:
359407
path: build/t430-hotp-maximized
360408

361409
- run:
362-
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
410+
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
363411
command: |
364412
./blobs/xx30/download_clean_me.sh
365413
- run:
@@ -383,7 +431,7 @@ jobs:
383431
path: build/x230-maximized
384432

385433
- run:
386-
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
434+
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
387435
command: |
388436
./blobs/xx30/download_clean_me.sh
389437
- run:
@@ -408,7 +456,7 @@ jobs:
408456

409457

410458
- run:
411-
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
459+
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
412460
command: |
413461
./blobs/xx30/download_clean_me.sh
414462
- run:

0 commit comments

Comments
 (0)