File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,15 @@ cache:
20
20
- $HOME/.cache/apt
21
21
- $HOME/gcc-arm-none-eabi-6-2017-q2-update
22
22
23
+ addons :
24
+ apt :
25
+ sources :
26
+ - ubuntu-toolchain-r-test
27
+ packages :
28
+ - gcc-6
29
+ - g++-6
30
+ - cmake
31
+
23
32
before_install :
24
33
- bash -c "$STATUS" pending "Local $NAME testing is in progress"
25
34
# Make sure pipefail
@@ -117,7 +126,7 @@ matrix:
117
126
118
127
- env :
119
128
- NAME=ble-host-tests
120
- - BLE_HOST_TESTS=features/FEATURE_BLE/tests
129
+ - BLE_HOST_TESTS=$PWD/ features/FEATURE_BLE/tests
121
130
install :
122
131
# Install dependencies
123
132
- sudo apt-get install cmake
@@ -127,8 +136,10 @@ matrix:
127
136
script :
128
137
# Compile the tests
129
138
- mkdir $BLE_HOST_TESTS/build
130
- - cd $BLE_HOST_TESTS/build && cmake .. -G "Unix Makefiles"
131
- - make -C $BLE_HOST_TESTS/build
139
+ - cd $BLE_HOST_TESTS/build && CC=gcc-6 CXX=g++-6 cmake .. -G "Unix Makefiles"
140
+ - ls $BLE_HOST_TESTS
141
+ - ls $BLE_HOST_TESTS/build
142
+ - cd $BLE_HOST_TESTS/build && make
132
143
# Run ble host tests
133
144
- $BLE_HOST_TESTS/build/gatt-client-tests
134
145
You can’t perform that action at this time.
0 commit comments