Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt6-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bruno Vunderl
qt6-docker
Commits
a2a8b612
Commit
a2a8b612
authored
2 years ago
by
Bruno Vunderl
Browse files
Options
Downloads
Patches
Plain Diff
gitlab: build android image with only aarch64
parent
57fecf0d
No related branches found
No related tags found
1 merge request
!1
Feature/reduce size
Pipeline
#45259
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
6.3-android-aqt/get_qt.sh
+3
-1
3 additions, 1 deletion
6.3-android-aqt/get_qt.sh
with
21 additions
and
1 deletion
.gitlab-ci.yml
0 → 100644
+
18
−
0
View file @
a2a8b612
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
This diff is collapsed.
Click to expand it.
6.3-android-aqt/get_qt.sh
+
3
−
1
View file @
a2a8b612
...
@@ -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
arm
v7 arm64_v8a x86 x86_64
;
do
for
abi
in
arm
64_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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment