Files
pmaports-rtwo/cross/.gitlab-ci.yml
T
Oliver Smith 9481543b7b CI: add cross-gcc-tests
When upgrading our cross gcc packages, build some packages with them to
ensure they work as expected.

Put the gitlab-ci.yml in cross/ instead of cross/gcc-x86_64, because:
* it tests gcc-aarch64 too
* so it does not get removed when regenerating gcc-x86_64 with
  pmbootstrap

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6776
2025-07-15 08:32:56 +02:00

16 lines
717 B
YAML

cross-gcc-tests:
extends: .package-test
before_script:
- wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
- sh ./install_pmbootstrap.sh
script:
- su pmos -c "pmbootstrap --details-to-stdout build gcc-aarch64"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 hello-world"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 iskey"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 pbsplash"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 gcc-x86_64"
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- cross/gcc-x86_64/APKBUILD