forked from rumpkernel/rumprun
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
32 lines (28 loc) · 1.12 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## Customize the test machine
machine:
# Add some environment variables
environment:
CC: gcc-4.8
CXX: g++-4.8
## Customize dependencies
dependencies:
pre:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -y
- sudo apt-get install qemu-kvm libxen-dev -y
- sudo apt-get install g++-4.8 -y
- sudo apt-get install bc libfuse-dev libarchive-dev -y
# configure matrix parameters
- tests/circleci_cfg.sh
post:
- git submodule update --init
test:
override:
- ./build-rr.sh -o myobj -j16 -qq ${KERNONLY} ${RUMPKERN} ${PLATFORM} ${EXTRAFLAGS}:
parallel: true
- . ./myobj/config && RUMPRUN_SHCONF=./myobj/config.sh RUMPRUN_MKCONF=$(pwd)/myobj/config.mk ./tests/buildtests.sh ${KERNONLY}:
parallel: true
- . ./myobj/config && RUMPRUN_SHCONF=./myobj/config.sh ./tests/runtests.sh ${TESTS}:
parallel: true
- if [ $CIRCLE_NODE_INDEX -eq 2 -o $CIRCLE_NODE_INDEX -eq 3 ] ; then . ./myobj/config && RUMPRUN_SHCONF=./myobj/config.sh RUMPRUN_MKCONF=$(pwd)/myobj/config.mk sh -x ./tests/nolibc/test-nolibc.sh ${KERNONLY} ; fi:
parallel: true