File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,15 @@ cache: ccache
4
4
5
5
addons :
6
6
apt :
7
- update : true
7
+ sources :
8
+ - sourceline : " ppa:ubuntu-toolchain-r/test"
9
+ - sourceline : " deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
10
+ key_url : " https://apt.llvm.org/llvm-snapshot.gpg.key"
8
11
packages :
12
+ - clang-9
13
+ - clang-tidy-9
14
+ - clang-format-9
15
+ - g++-9
9
16
- libboost-all-dev
10
17
- libglfw3-dev
11
18
- libglew-dev
@@ -14,6 +21,16 @@ addons:
14
21
- xorg-dev # needed by glfw3
15
22
- libglu1-mesa-dev # needed by glfw3
16
23
24
+ compiler :
25
+ - gcc
26
+ - clang
27
+
28
+ install :
29
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100
30
+ - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100
31
+ - sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-9 100
32
+ - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 100
33
+
17
34
script :
18
35
- mkdir build
19
36
- cd build
You can’t perform that action at this time.
0 commit comments