mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 17:43:52 +00:00
* Create drone config * Tweak config * Update .drone.yml * Garbage commit to run another build * Bring cores down * Fix formatting from https://github.com/EQEmu/Server/pull/1142 * Add tests line * Change directory to build before running the unit tests * Remove tests dir * Avoid double build on PR's * Testing build settings
16 lines
637 B
YAML
16 lines
637 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: EQEmulator Server Linux CI
|
|
|
|
# Limits how many of these builds can run on the drone runner at a time, this isn't about cores
|
|
concurrency:
|
|
limit: 1
|
|
|
|
steps:
|
|
- name: server-build
|
|
# Source build script https://github.com/Akkadius/akk-stack/blob/master/containers/eqemu-server/Dockerfile#L20
|
|
image: akkadius/eqemu-server:latest
|
|
commands:
|
|
- sudo chown eqemu:eqemu /drone/src/ * -R
|
|
- git submodule init && git submodule update && mkdir -p build && cd build && cmake -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_BOTS=ON -DEQEMU_BUILD_LUA=ON -G 'Unix Makefiles' .. && make -j$((`nproc`-4)) |