-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.appveyor.yml
41 lines (35 loc) · 1.15 KB
/
.appveyor.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
branches:
only:
- master
- dev
image:
- Ubuntu1804
platform: x64
environment:
matrix:
- CLANG_VERSION: 7
- CLANG_VERSION: 8
install:
- sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-$CLANG_VERSION main"
- sudo apt update --allow-insecure-repositories
- sudo apt purge -y --allow-change-held-packages mssql-server
- sudo apt autoremove -y --allow-change-held-packages
- sudo apt install --allow-unauthenticated -y
git
make
clang-$CLANG_VERSION
lld-$CLANG_VERSION
libc++-$CLANG_VERSION-dev
build-essential
libelf-dev
linux-headers-$(uname -r)
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-$CLANG_VERSION 10000
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-$CLANG_VERSION 10000
build_script:
- echo "SUPPORTED_ARCHITECTURES := x86_64" > environment.config
- echo "SELECTED_ARCHITECTURE := x86_64" >> environment.config
- echo "BUILD_DRIVERS := linux" >> environment.config
- echo "HYPERVISOR_WAIT_FOR_DEBUGGER := 0" >> environment.config
- echo "LINUX_KERNEL := $(uname -r)" >> environment.config
- make -j
- make -j mode=release