5
5
steps :
6
6
- checkout
7
7
- run :
8
- name : Make scripts executable
8
+ name : Make scripts executable
9
9
command : sudo chmod -R +x ./.circleci/*.sh
10
10
- run :
11
11
name : Install
@@ -18,11 +18,16 @@ jobs:
18
18
steps :
19
19
- checkout
20
20
- run :
21
- name : Make scripts executable
21
+ name : Make scripts executable
22
22
command : sudo chmod -R +x ./.circleci/*.sh
23
23
- run :
24
24
name : Install
25
25
command : ./.circleci/install_platform_io.sh
26
+ - run :
27
+ name : Empty Git Submodule Folders
28
+ command : |
29
+ rm -rf ./src/lib/{ArduinoJson/*,BIP66/*,uECC/*}
30
+ rm -rf ./test/lib/googletest/*
26
31
- run :
27
32
name : Build
28
33
command : ./.circleci/script_platform_io.sh
@@ -34,16 +39,15 @@ jobs:
34
39
name : Install dependencies
35
40
command : |
36
41
sudo apt-get remove cmake cmake-data
37
- sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
42
+ sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
38
43
sudo apt-add-repository -y ppa:george-edison55/cmake-3.x
39
44
sudo apt-get update
40
45
sudo apt-get -y install g++-7 gcc-7 lcov cmake
41
46
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
42
47
sudo update-alternatives --config gcc
43
48
- run :
44
- name : Make scripts executable
49
+ name : Make scripts executable
45
50
command : sudo chmod -R +x ./.circleci/*.sh
46
-
47
51
- run :
48
52
name : Build
49
53
command : ./.circleci/script_desktop.sh
@@ -63,28 +67,22 @@ jobs:
63
67
sudo apt-get update
64
68
sudo apt install python-lldb-5.0 lcov cmake
65
69
sudo apt install clang-5.0 clang-tidy-5.0 clang-format-5.0 clang-5.0-doc libclang-common-5.0-dev libclang-5.0-dev libclang1-5.0 libllvm5.0 lldb-5.0 llvm-5.0 llvm-5.0-dev
66
-
67
70
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-5.0 60
68
71
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 50
69
72
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-5.0 60
70
73
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 50
71
-
72
74
- run :
73
- name : Make scripts executable
75
+ name : Make scripts executable
74
76
command : sudo chmod -R +x ./.circleci/*.sh
75
-
76
77
- run :
77
78
name : Build
78
79
command : ./.circleci/script_desktop.sh
79
-
80
80
- run :
81
81
name : Clang Tidy
82
82
command : ./.circleci/clang_tidy.sh
83
-
84
83
- run :
85
84
name : Clang Format
86
85
command : ./.circleci/clang_format.sh
87
-
88
86
build-macos-9-2 :
89
87
macos :
90
88
xcode : " 9.2.0"
95
93
name : Install dependencies
96
94
command : brew install cmake lcov
97
95
- run :
98
- name : Make scripts executable
96
+ name : Make scripts executable
99
97
command : sudo chmod -R +x ./.circleci/*.sh
100
98
- run :
101
99
name : Build
@@ -109,12 +107,11 @@ jobs:
109
107
name : Install dependencies
110
108
command : brew install cmake lcov
111
109
- run :
112
- name : Make scripts executable
110
+ name : Make scripts executable
113
111
command : sudo chmod -R +x ./.circleci/*.sh
114
112
- run :
115
113
name : Build
116
114
command : ./.circleci/script_desktop.sh
117
-
118
115
workflows :
119
116
version : 2
120
117
build :
@@ -125,4 +122,3 @@ workflows:
125
122
- build-linux-clang-5
126
123
- build-macos-9-2
127
124
- build-macos-9-3
128
-
0 commit comments