Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-qt-tests
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
Container Registry
Model registry
Operate
Environments
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
qtwaylandtests
docker-qt-tests
Commits
840e43f6
Commit
840e43f6
authored
7 years ago
by
Johan Helsing
Browse files
Options
Downloads
Patches
Plain Diff
Split cloning and checkout into two
parent
ac64eeb3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+4
-0
4 additions, 0 deletions
Dockerfile
scripts/checkout-qt.sh
+14
-0
14 additions, 0 deletions
scripts/checkout-qt.sh
scripts/run.sh
+4
-2
4 additions, 2 deletions
scripts/run.sh
with
22 additions
and
2 deletions
Dockerfile
+
4
−
0
View file @
840e43f6
...
...
@@ -29,5 +29,9 @@ ENV XDG_RUNTIME_DIR=/tmp
ENV
QT_QPA_PLATFORM=wayland
ENV
MAKEFLAGS=-j8
# Keep Qt source code as part of the image to avoid duplication
COPY
scripts/clone-qt.sh /home/build/scripts/clone-qt.sh
RUN
scripts/clone-qt.sh
COPY
scripts/ /home/build/scripts
CMD
"./scripts/run.sh"
This diff is collapsed.
Click to expand it.
scripts/checkout-qt.sh
0 → 100755
+
14
−
0
View file @
840e43f6
#!/bin/bash
set
-ex
srcdir
=
$(
pwd
)
/qt5
qt5_rev
=
${
QT_DOCKERTEST_QT5_REV
:-
5
.11
}
git fetch
--depth
1 origin
"
$qt5_rev
"
git checkout FETCH_HEAD
git submodule update
--init
--
qtbase qtxmlpatterns qtdeclarative qtwayland
if
[[
-v
QT_DOCKERTEST_QTWAYLAND_REV
]]
;
then
cd
"
$srcdir
/qtwayland"
git fetch
--depth
1 origin
"
$QT_DOCKERTEST_QTWAYLAND_REV
"
git checkout FETCH_HEAD
fi
This diff is collapsed.
Click to expand it.
scripts/run.sh
+
4
−
2
View file @
840e43f6
#!/bin/bash
set
-ex
time
scripts/clone-qt.sh
echo
Finished cloning
#time scripts/clone-qt.sh
#echo Finished cloning
time
scripts/update-qt.sh
echo
Finished preparing sources
time
scripts/build-qt.sh
echo
Finished building
time
scripts/build-qtbase-tests.sh
...
...
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