File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,25 @@ sudo: required
3
3
services :
4
4
- docker
5
5
6
- # LLVM takes awhile to check out and otherwise we'll manage the submodules in
7
- # our configure script , so disable auto submodule management.
6
+ # LLVM takes awhile to check out and otherwise we'll manage the submodules
7
+ # ourselves , so disable auto submodule management.
8
8
git :
9
9
submodules : false
10
10
11
+ # We want to mount source directory read-only to test out-of-tree build.
12
+ # This means configure can't manage submodules, so we do it here.
11
13
before_install :
14
+ - git submodule init
15
+ - git submodule deinit src/llvm
16
+ - git submodule update
12
17
- docker build -t rust -f src/etc/Dockerfile src/etc
13
18
14
19
script :
15
- - docker run -v `pwd`:/build rust
20
+ - docker run -v `pwd`:/src:ro rust
16
21
sh -c "
17
- ./configure --llvm-root=/usr/lib/llvm-3.7 &&
22
+ /src/configure
23
+ --llvm-root=/usr/lib/llvm-3.7
24
+ --disable-manage-submodules &&
18
25
make tidy &&
19
26
make check-notidy -j4
20
27
"
You can’t perform that action at this time.
0 commit comments