travis: Do not waste time cloning unused submodules
RFC PATCH 1/1 travis: Do not waste time cloning unused submodules
Builds only require:
- dtc
- keycodemapdb
- capstone
---
Some tests might require ROMs. Can they clone submodules only when required?
--- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
@@ -67,7 +67,7 @@ before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive + - git submodule update --init --recursive capstone dtc ui/keycodemapdb before_script: - ./configure ${CONFIG} || { cat config.log && exit 1; } script:
Signature · 1 line
2.18.0.rc2
Quoted 22 lines · Philippe Mathieu-Daudé
Builds only require:
- dtc
- keycodemapdb
- capstoneSigned-off-by Philippe Mathieu-Daudé <[email protected]>---
Some tests might require ROMs. Can they clone submodules only when required?--- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).travis.yml +1
-1@@ -67,7 +67,7 @@ before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive + - git submodule update --init --recursive capstone dtc
Quoted 1 line
ui/keycodemapdb
Does that mean we could drop the wget hack? That's there mainly because cloning all the submodules takes some time.
Quoted 3 lines
before_script:
- ./configure ${CONFIG} || { cat config.log && exit 1; }
script:
--
Alex Bennée
Quoted 8 lines · Philippe Mathieu-Daudé
Builds only require:
- dtc
- keycodemapdb
- capstoneSigned-off-by Philippe Mathieu-Daudé <[email protected]>---
Some tests might require ROMs. Can they clone submodules only when required?
In general the ROM blobs should be in the main git repo; the submodules are only the source for recompiling the blobs, I think.
thanks
-- PMM
Alex Bennée
AppliedQuoted 22 lines · Philippe Mathieu-Daudé
Builds only require:
- dtc
- keycodemapdb
- capstoneSigned-off-by Philippe Mathieu-Daudé <[email protected]>---
Some tests might require ROMs. Can they clone submodules only when required?--- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).travis.yml +1
-1@@ -67,7 +67,7 @@ before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive + - git submodule update --init --recursive capstone dtc
Quoted 1 line
ui/keycodemapdb
Queued with drop of wget as well. Thanks.
Quoted 3 lines
before_script:
- ./configure ${CONFIG} || { cat config.log && exit 1; }
script:
--
Alex Bennée