Martin Roth | 5a4cedb | 2023-05-27 18:13:51 -0600 | [diff] [blame^] | 1 | FROM coreboot-sdk |
| 2 | # Test the built image |
| 3 | RUN mkdir -p /tmp/work && \ |
| 4 | cd /tmp/work && \ |
| 5 | git clone https://review.coreboot.org/bios_extract.git && \ |
| 6 | make -C bios_extract && \ |
| 7 | git clone https://review.coreboot.org/memtest86plus.git && \ |
| 8 | make -C memtest86plus && \ |
| 9 | git clone https://review.coreboot.org/flashrom.git && \ |
| 10 | CONFIG_EVERYTHING=yes make -C flashrom && \ |
| 11 | git clone https://review.coreboot.org/em100.git && \ |
| 12 | make -C em100 && \ |
| 13 | git clone https://review.coreboot.org/coreboot.git && \ |
| 14 | (cd coreboot && git submodule update --init --checkout ) && \ |
| 15 | make -C coreboot CPUS=$(nproc) test-abuild |
| 16 | |
| 17 | RUN \ |
| 18 | cd /tmp/work && \ |
| 19 | make -C coreboot olddefconfig && \ |
| 20 | make -C coreboot all -j && \ |
| 21 | make -C coreboot printall && \ |
| 22 | make -C coreboot filelist && \ |
| 23 | make -C coreboot ctags-project && \ |
| 24 | make -C coreboot cscope-project |
| 25 | |
| 26 | RUN \ |
| 27 | cd /tmp/work && \ |
| 28 | make -C coreboot test-payloads&& \ |
| 29 | make -C coreboot test-tools -j && \ |
| 30 | make -C coreboot test-lint -j && \ |
| 31 | make -C coreboot test-cleanup -j && \ |
| 32 | cd && \ |
| 33 | rm -rf /tmp/work/ |