Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
bce1637e
Unverified
Commit
bce1637e
authored
Mar 26, 2022
by
Matti Picus
Committed by
GitHub
Mar 26, 2022
Browse files
Merge pull request #433 from matthew-brett/focal-images-for-64-bit
Change default test image for 64-bit
parents
443c5a80
86c0bbca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
README.rst
README.rst
+2
-2
travis_linux_steps.sh
travis_linux_steps.sh
+7
-3
No files found.
README.rst
View file @
bce1637e
...
@@ -270,8 +270,8 @@ Test phase
...
@@ -270,8 +270,8 @@ Test phase
Specify the version to test with the ``DOCKER_TEST_IMAGE`` environment
Specify the version to test with the ``DOCKER_TEST_IMAGE`` environment
variable. The default version is dependent on ``PLAT``:
variable. The default version is dependent on ``PLAT``:
* ``m
atthewbrett/trusty:
64``, for ``x86_64``
* ``m
ultibuild/focal_x86_
64``, for ``x86_64``
* ``matthewbrett/trusty:32`` for ``i686``
* ``matthewbrett/trusty:32`` for ``i686``
(Yes, an older image for 32-bit)
* ``multibuild/xenial_arm64v8`` for ``aarch64``
* ``multibuild/xenial_arm64v8`` for ``aarch64``
* ``multibuild/xenial_ppc64le`` for ``ppc64le``
* ``multibuild/xenial_ppc64le`` for ``ppc64le``
* ``mutlibuild/xenial_s390x`` for ``s390x``
* ``mutlibuild/xenial_s390x`` for ``s390x``
...
...
travis_linux_steps.sh
View file @
bce1637e
...
@@ -120,10 +120,14 @@ function install_run {
...
@@ -120,10 +120,14 @@ function install_run {
local
plat
=
${
1
:-${
PLAT
:-
x86_64
}}
local
plat
=
${
1
:-${
PLAT
:-
x86_64
}}
if
[
-z
"
$DOCKER_TEST_IMAGE
"
]
;
then
if
[
-z
"
$DOCKER_TEST_IMAGE
"
]
;
then
if
[
"
$MB_ML_LIBC
"
==
"musllinux"
]
;
then
if
[
"
$MB_ML_LIBC
"
==
"musllinux"
]
;
then
local
docker_image
=
"multibuild/alpine3.14_
$plat
"
local
docker_image
=
"multibuild/alpine3.14_
$plat
"
else
else
local
bitness
=
$(
[
"
$plat
"
==
i686
]
&&
echo
32
||
echo
64
)
local
bitness
=
$(
[
"
$plat
"
==
i686
]
&&
echo
32
||
echo
64
)
local
docker_image
=
"matthewbrett/trusty:
$bitness
"
if
[
"
$bitness
"
==
"32"
]
;
then
local
docker_image
=
"matthewbrett/trusty:
$bitness
"
else
local
docker_image
=
"multibuild/focal_x86_64"
fi
fi
fi
else
else
# aarch64 is called arm64v8 in Ubuntu
# aarch64 is called arm64v8 in Ubuntu
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment