Skip to content

Commit

Permalink
Fixed typo in .drone.yml (vmangos#471)
Browse files Browse the repository at this point in the history
* Fixed typo in .drone.yml

* Updated .drone.yml and fixed pipeline issues 

Builds two pipelines one for each type of compiler and changed Ubuntu to Bionic(18.04)
  • Loading branch information
tonymmm1 authored Apr 23, 2020
1 parent 071a91e commit 7acafb7
Showing 1 changed file with 35 additions and 52 deletions.
87 changes: 35 additions & 52 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,36 @@
kind: pipeline
type: docker
name: amd64
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

platform:
arch: amd64

steps:
- name: build-gcc
image: ubuntu:xenial
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)

- name: build-clang
image: ubuntu:xenial
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)


---
#kind: pipeline
#type: docker
#name: arm64
#
#platform:
# arch: arm64
#
#steps:
#- name: build
# image: ubuntu:xenial
# 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)
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)

0 comments on commit 7acafb7

Please sign in to comment.