Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gitlab: add a new aarch32 custom runner definition
Although running on aarch64 hardware we can still target 32bit builds with a cross compiler and run the resulting binaries. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220225172021.3493923-10-alex.bennee@linaro.org>
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# All ubuntu-20.04 jobs should run successfully in an environment | ||
# setup by the scripts/ci/setup/qemu/build-environment.yml task | ||
# "Install basic packages to build QEMU on Ubuntu 18.04/20.04" | ||
|
||
ubuntu-20.04-aarch32-all: | ||
needs: [] | ||
stage: build | ||
tags: | ||
- ubuntu_20.04 | ||
- aarch32 | ||
rules: | ||
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' | ||
when: manual | ||
allow_failure: true | ||
- if: "$AARCH32_RUNNER_AVAILABLE" | ||
when: manual | ||
allow_failure: true | ||
script: | ||
- mkdir build | ||
- cd build | ||
- ../configure --cross-prefix=arm-linux-gnueabihf- | ||
- make --output-sync -j`nproc` | ||
- make --output-sync -j`nproc` check V=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters