CI: Add bootimg analysis integration test (MR 2467)

This commit is contained in:
Newbyte 2024-10-31 11:05:46 +01:00 committed by Oliver Smith
parent ee154ccdf9
commit d19de946b3
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 11 additions and 0 deletions

View file

@ -29,6 +29,11 @@ pmbootstrap -q shutdown
# Default for tests where the device doesn't matter
pmbootstrap config device qemu-amd64
# Tests the bootimg analysis functionality.
analyze_bootimg() {
pmbootstrap bootimg_analyze test/data/htc-primou-boot.img
}
# A test that builds normal and FDE images for the given device/ui
build_images() {
device="$1"

View file

@ -0,0 +1 @@
../integration.sh

View file

@ -126,6 +126,11 @@ deploy:
paths: [packages]
expire_in: 1 week
analyze bootimg:
extends: .integration
script:
- .ci/integration_tests/analyze_bootimg
# Test that we can generate an install rootfs on AMD64 for native
# and arm64 QEMU targets
install amd64:

Binary file not shown.