1language: c
2
3compiler: gcc
4
5env:
6    global:
7        - USE_CCACHE=1
8
9build:
10    cache: true
11    cache_dir_list:
12        - ${SHIPPABLE_BUILD_DIR}/ccache
13    pre_ci_boot:
14        image_name: zephyrprojectrtos/ci
15        image_tag: v0.9.1
16        pull: true
17        options: "-e HOME=/home/buildslave --privileged=true --tty --net=bridge --user buildslave"
18
19    ci:
20      - sudo apt-get install libglib2.0-dev libpcap-dev
21      - export CCACHE_DIR=${SHIPPABLE_BUILD_DIR}/ccache/.ccache
22      - ccache -c -s --max-size=2000M
23      - make
24
25integrations:
26  notifications:
27    - integrationName: slack_integration
28      type: slack
29      recipients:
30        - "#ci"
31      branches:
32        only:
33          - master
34      on_success: never
35      on_failure: always
36    - integrationName: email
37      type: email
38      recipients:
39        - builds@zephyrproject.org
40      branches:
41        only:
42          - master
43      on_success: never
44      on_failure: never
45