mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
30 lines
641 B
YAML
30 lines
641 B
YAML
sudo: false
|
|
|
|
addons:
|
|
apt_packages:
|
|
- lib32stdc++6 # needed for spcomp
|
|
|
|
env:
|
|
- SMVERSION=1.9
|
|
|
|
before_script:
|
|
# install smbuilder
|
|
- git clone https://github.com/splewis/sm-builder
|
|
- cd sm-builder
|
|
- pip install --user -r requirements.txt
|
|
- python setup.py install --prefix=~/.local
|
|
- cd ..
|
|
|
|
# install the sourcemod compiler
|
|
- SMPACKAGE="http://sourcemod.net/latest.php?os=linux&version=${SMVERSION}"
|
|
- wget $SMPACKAGE
|
|
- tar xfz $(basename $SMPACKAGE)
|
|
- cd addons/sourcemod/scripting/
|
|
- chmod +x spcomp
|
|
- PATH+=":$PWD"
|
|
|
|
- cd ../../..
|
|
|
|
script:
|
|
- smbuilder --flags="-E"
|