forked from vmangos/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed typo in .drone.yml (vmangos#471)
* 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |