forked from HomeACcessoryKid/ESP8266-HomeKit-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitbucket-pipelines.yml
21 lines (20 loc) · 1012 Bytes
/
bitbucket-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is a sample build configuration for C++ – Make.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: gcc:6.1
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- apt-get update && apt-get -y install xz-utils unrar autoconf automake libtool g++ gperf flex bison texinfo gawk libncurses5-dev libexpat1-dev python python-serial sed git vim-common
- export OPENSDK_COMMIT=a48b12f
- export CROSS_ROOT="${HOME}/toolchain-${OPENSDK_COMMIT}"
- export CROSS_BINDIR="${CROSS_ROOT}/bin"
- export CROSS="ccache xtensa-lx106-elf-"
- export MAKE_CMD="make WARNINGS_AS_ERRORS=1 -C examples/ build-examples"
- export PATH=${PATH}:${CROSS_BINDIR}
# - ./configure
# - make
# - make test