mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
CI: test different cross compilation methods
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2568
This commit is contained in:
parent
215a0de035
commit
0eaedba632
2 changed files with 15 additions and 4 deletions
|
@ -58,7 +58,7 @@ force_build() {
|
|||
|
||||
echo "Force building $packages for $arch"
|
||||
# shellcheck disable=SC2086
|
||||
pmbootstrap build --force --arch "$arch" $packages
|
||||
pmbootstrap $PMB_EXTRA_ARGS build --force --arch "$arch" $packages
|
||||
}
|
||||
|
||||
strict_build() {
|
||||
|
|
|
@ -167,9 +167,20 @@ force build amd64:
|
|||
tags: [qemu]
|
||||
script:
|
||||
# Packages chosen for being small, unlikely to break, and for language coverage.
|
||||
- .ci/integration_tests/force_build x86_64 hello-world postmarketos-mkinitfs
|
||||
- .ci/integration_tests/force_build aarch64 hello-world postmarketos-mkinitfs
|
||||
- .ci/integration_tests/force_build armv7 hello-world postmarketos-mkinitfs
|
||||
# cross compiling: unnecessary
|
||||
- .ci/integration_tests/force_build x86_64 hello-world
|
||||
- .ci/integration_tests/force_build x86_64 postmarketos-mkinitfs
|
||||
# cross compiling: qemu-only
|
||||
- PMB_EXTRA_ARGS="--no-cross" .ci/integration_tests/force_build aarch64 hello-world
|
||||
# cross compiling: crossdirect
|
||||
- .ci/integration_tests/force_build aarch64 hello-world
|
||||
- .ci/integration_tests/force_build armv7 hello-world
|
||||
# cross compiling: cross-native
|
||||
- .ci/integration_tests/force_build aarch64 arch-bin-masquerade
|
||||
- .ci/integration_tests/force_build armv7 arch-bin-masquerade
|
||||
# cross compiling: cross-native2
|
||||
- .ci/integration_tests/force_build aarch64 postmarketos-mkinitfs
|
||||
- .ci/integration_tests/force_build armv7 postmarketos-mkinitfs
|
||||
|
||||
# Same again but on the arm64 runner
|
||||
force build aarch64:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue