Files
Yogstation/tools/travis/build_bsql.sh
yogstation13-bot 87d43aa26a [MIRROR] Split Travis shell scripts by job (#6213)
* Split Travis shell scripts by job

* fixes the thing

* Adds DreamChecker

* This is bullshit

* LINE ENDINGS REEEEEEEEEEEEEEEEEE

* hah...

* Fixes code errors
2019-07-23 16:06:28 -04:00

22 lines
452 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
source dependencies.sh
mkdir -p BSQL
cd BSQL
git init
git remote add origin https://github.com/tgstation/BSQL
git fetch --depth 1 origin $BSQL_VERSION
git checkout FETCH_HEAD
mkdir -p artifacts
cd artifacts
export CXX=g++-7
# The -D will be unnecessary past BSQL v1.4.0.0
cmake .. -DMARIA_LIBRARY=/usr/lib/i386-linux-gnu/libmariadb.so
make
mkdir -p ~/.byond/bin
ln -s $PWD/src/BSQL/libBSQL.so ../../libBSQL.so