forked from OregonCore/OregonCore
-
Notifications
You must be signed in to change notification settings - Fork 48
31 lines (27 loc) · 816 Bytes
/
oregoncore.yml
File metadata and controls
31 lines (27 loc) · 816 Bytes
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
name: OregonCore Linux build
on:
push:
paths-ignore:
- 'sql/**'
- 'README.md'
pull_request:
paths-ignore:
- 'sql/**'
- 'README.md'
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: befor install
run: |
sudo apt-get -qq install libmysql++-dev libace-dev
sudo apt-get -qq install cmake build-essential cppcheck git make binutils-dev libiberty-dev openssl libssl-dev
- uses: actions/checkout@v2
- name: Build & install
run: |
mkdir build
mkdir _install
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" -DSERVERS=1 -DTOOLS=1 -DSCRIPTS=1 -DWITH_DOCS=1 -DWITH_WARNINGS=0 -DELUNA=1 -DWITH_COREDEBUG=0
make -j2
make install