Skip to content
Snippets Groups Projects
Commit a2a8b612 authored by Bruno Vunderl's avatar Bruno Vunderl
Browse files

gitlab: build android image with only aarch64

parent 57fecf0d
No related branches found
No related tags found
1 merge request!1Feature/reduce size
Pipeline #45259 passed
stages:
- build_docker
build:
stage: build_docker
image: docker
services:
- docker:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker pull $CI_REGISTRY_IMAGE:android_arm64 || true
- docker build
--cache-from $CI_REGISTRY_IMAGE:android_arm64
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
--tag $CI_REGISTRY_IMAGE:android_arm64
6.3-android-aqt
- docker push $CI_REGISTRY_IMAGE:android_arm64
...@@ -29,11 +29,13 @@ echo ...@@ -29,11 +29,13 @@ echo
echo '--> Download & install the Qt library using aqt' echo '--> Download & install the Qt library using aqt'
echo echo
for abi in armv7 arm64_v8a x86 x86_64; do for abi in arm64_v8a; do
aqt install-qt -O "$QT_PATH" linux android "$QT_VERSION" "android_$abi" aqt install-qt -O "$QT_PATH" linux android "$QT_VERSION" "android_$abi"
done done
aqt install-tool -O "$QT_PATH" linux desktop tools_cmake aqt install-tool -O "$QT_PATH" linux desktop tools_cmake
aqt install-tool -O "$QT_PATH" linux desktop tools_ninja aqt install-tool -O "$QT_PATH" linux desktop tools_ninja
# Host Qt needed for cross-compilation # Host Qt needed for cross-compilation
aqt install-qt -O "$QT_PATH" linux desktop "$QT_VERSION" gcc_64 aqt install-qt -O "$QT_PATH" linux desktop "$QT_VERSION" gcc_64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment