Skip to content

Commit d4c56dc

Browse files
committed
build: add tracking file
1 parent 695a2bc commit d4c56dc

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.mci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
stepback: true
2+
pre:
3+
- command: shell.exec
4+
params:
5+
script: |
6+
rm -rf "c-driver"
7+
8+
post:
9+
10+
## tasks
11+
tasks:
12+
- name: compile
13+
commands:
14+
- command: git.get_project
15+
params:
16+
directory: "c-driver"
17+
- command: shell.exec
18+
params:
19+
working_dir: "c-driver"
20+
script: |
21+
set -o verbose
22+
set -o errexit
23+
./autogen.sh
24+
make ${compile_flags}
25+
26+
buildvariants:
27+
- name: ubuntu-1404
28+
display_name: "Ubuntu-1404"
29+
expansions:
30+
compile_flags: -j$(grep -c ^processor /proc/cpuinfo)
31+
run_on:
32+
- ubuntu1404-test
33+
tasks:
34+
- name: compile

0 commit comments

Comments
 (0)