File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -7,30 +7,32 @@ machine:
7
7
environment :
8
8
CROSS_COMPILE : $(case $CIRCLE_NODE_INDEX in 0) host='' ;; 1) host='i686-w64-mingw32-' ;; 2) host='arm-linux-androideabi-' ;; esac; echo $host)
9
9
MKARG : $(case $CIRCLE_NODE_INDEX in 0) mkarg='dpdk=yes' ;; 1) host='i686-w64-mingw32-' ;; 2) host='arm-linux-androideabi-' ;; esac; echo $mkarg)
10
- PATH : /home/ubuntu/android-toolchain/bin:${PATH}
10
+
11
11
12
12
# # Customize dependencies
13
13
dependencies :
14
14
pre :
15
15
# required for 14.04 container
16
16
# - sudo dpkg --add-architecture i386
17
- - sudo apt-get update; sudo apt-get install bc libfuse-dev libarchive-dev xfsprogs valgrind gcc-mingw-w64-i686 wine qemu-user-static linux-headers-$(uname -r)
17
+ - sudo apt-get update; sudo apt-get install bc libfuse-dev libarchive-dev xfsprogs valgrind gcc-mingw-w64-i686 wine qemu-user-static linux-headers-$(uname -r) ccache
18
18
- /usr/local/android-ndk/build/tools/make-standalone-toolchain.sh --platform=android-21 --install-dir=/home/ubuntu/android-toolchain --arch=arm
19
-
20
-
21
- test :
22
- pre :
23
19
- sudo cp tools/lkl/bin/i686-w64-mingw32-* /usr/bin :
24
20
parallel : true
25
21
- tools/lkl/scripts/checkpatch.sh
26
-
27
22
override :
23
+ - mkdir -p ~/.ccache
28
24
- cd tools/lkl && make clean :
29
25
parallel : true
30
26
- cd tools/lkl && ./scripts/dpdk-sdk-build.sh :
31
27
parallel : true
32
28
- cd tools/lkl && make -j8 ${MKARG} :
33
29
parallel : true
30
+ cache_directories :
31
+ - " ~/.ccache"
32
+
33
+
34
+ test :
35
+ override :
34
36
- cd tools/lkl && if [ $CIRCLE_NODE_INDEX -eq 2 ] ; then make tests/boot-in.o; arm-linux-androideabi-gcc -o tests/boot tests/boot-in.o liblkl.a -static ; fi :
35
37
parallel : true
36
38
- cd tools/lkl && make test :
You can’t perform that action at this time.
0 commit comments