The runners from OSUOSL sometimes still fail to run jobs that emulate other arches via QEMU. We run into this when building gcc-x86_64 for aarch64 on x86_64 through QEMU. Use the usual workaround of running the job on our own builder. Related: postmarketos issue 83 Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
21 lines
735 B
YAML
21 lines
735 B
YAML
cross-gcc-tests:
|
|
extends: .package-test
|
|
tags: [qemu]
|
|
before_script:
|
|
- wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
|
- sh ./install_pmbootstrap.sh
|
|
script:
|
|
- su pmos -c "pmbootstrap build gcc-aarch64"
|
|
- su pmos -c "pmbootstrap build --arch=aarch64 hello-world --force"
|
|
- su pmos -c "pmbootstrap build --arch=aarch64 iskey --force"
|
|
- su pmos -c "pmbootstrap build --arch=aarch64 pbsplash --force"
|
|
- su pmos -c "pmbootstrap build --arch=aarch64 gcc-x86_64"
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
changes:
|
|
- cross/gcc-x86_64/APKBUILD
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- log.txt
|
|
expire_in: 1 week
|