]>
Commit | Line | Data |
---|---|---|
657343a6 LS |
1 | #!/bin/sh |
2 | # | |
3 | # Download and run Docker image to build and test 32-bit Git | |
4 | # | |
5 | ||
c2160f2d | 6 | . ${0%/*}/lib.sh |
657343a6 LS |
7 | |
8 | docker pull daald/ubuntu32:xenial | |
9 | ||
10 | # Use the following command to debug the docker build locally: | |
11 | # $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial | |
53303302 | 12 | # root@container:/# /usr/src/git/ci/run-linux32-build.sh <host-user-id> |
657343a6 | 13 | |
b2cbaa09 SG |
14 | container_cache_dir=/tmp/travis-cache |
15 | ||
657343a6 LS |
16 | docker run \ |
17 | --interactive \ | |
18 | --env DEVELOPER \ | |
19 | --env DEFAULT_TEST_TARGET \ | |
20 | --env GIT_PROVE_OPTS \ | |
21 | --env GIT_TEST_OPTS \ | |
22 | --env GIT_TEST_CLONE_2GB \ | |
b2cbaa09 | 23 | --env cache_dir="$container_cache_dir" \ |
657343a6 | 24 | --volume "${PWD}:/usr/src/git" \ |
b2cbaa09 | 25 | --volume "$cache_dir:$container_cache_dir" \ |
657343a6 LS |
26 | daald/ubuntu32:xenial \ |
27 | /usr/src/git/ci/run-linux32-build.sh $(id -u $USER) | |
9cc2c76f | 28 | |
b92cb86e SG |
29 | check_unignored_build_artifacts |
30 | ||
9cc2c76f | 31 | save_good_tree |