-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy path.gitlab-ci.yml
45 lines (42 loc) · 1.1 KB
/
.gitlab-ci.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
33
34
35
36
37
38
39
40
41
42
43
44
45
stages:
- build
build-debian-linux-gcc:
image: gcc
variables:
GIT_SUBMODULE_STRATEGY: recursive
stage: build
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt update
- apt -y install tzdata
- apt -y install make cmake pkg-config libusb-1.0-0-dev
script:
- cd examples/posix && mkdir build && cd build && cmake .. && CC=gcc make -j
build-debian-linux-clang:
image: gcc
variables:
GIT_SUBMODULE_STRATEGY: recursive
stage: build
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt update
- apt -y install tzdata
- apt -y install clang
- apt -y install make cmake pkg-config libusb-1.0-0-dev
script:
- cd examples/posix && mkdir build && cd build && cmake .. && CC=clang make -j
build-esp-idf-5.3:
image: espressif/idf:release-v5.3
variables:
GIT_SUBMODULE_STRATEGY: recursive
stage: build
before_script:
- pushd .
- cd external/btstack
- git apply ../patches/*.patch
- cd port/esp32
- IDF_PATH=../../../../src/ ./integrate_btstack.py
- popd
script:
- cd examples/esp32
- idf.py build