forked from vmangos/core
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.drone.yml
36 lines (33 loc) · 941 Bytes
/
.drone.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
kind: pipeline
type: docker
name: amd64-gcc
platform:
arch: amd64
steps:
- name: build-gcc
image: ubuntu:bionic
commands:
- apt-get update -y
- apt-get install -y g++ cmake libtbb-dev libcurl4-openssl-dev libace-dev git libmysql++-dev
- export TBB_ROOT_DIR=/usr/include/tbb/
- export ACE_ROOT=/usr/include/ace/
- mkdir build
- cd build
- cmake -DDEBUG=0 -DUSE_LIBCURL=1 ..
- make -j$(nproc)
---
kind: pipeline
type: docker
name: amd64-clang
steps:
- name: build-clang
image: ubuntu:bionic
commands:
- apt-get update -y
- apt-get install -y clang cmake libtbb-dev libcurl4-openssl-dev libace-dev git libmysql++-dev
- export CC=/usr/bin/clang
- export CXX=/usr/bin/clang++
- mkdir build
- cd build
- cmake -DDEBUG=0 -DUSE_LIBCURL=1 ..
- make -j$(nproc)