mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
language: generic
|
|
os: linux
|
|
dist: bionic
|
|
|
|
env:
|
|
global:
|
|
- BASENAME="vorestation" # $BASENAME.dmb, $BASENAME.dme, etc.
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/BYOND
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libc6:i386
|
|
- libgcc1:i386
|
|
- libstdc++6:i386
|
|
- libssl1.1:i386
|
|
- g++-7
|
|
- g++-7-multilib
|
|
- gcc-multilib
|
|
- zlib1g:i386
|
|
|
|
before_install:
|
|
- chmod -R +x ./tools/travis
|
|
|
|
install:
|
|
- ./tools/travis/install_byond.sh
|
|
|
|
before_script:
|
|
- shopt -s globstar
|
|
|
|
script:
|
|
- ldd librust_g.so
|
|
- ./tools/travis/compile_and_run.sh
|
|
|
|
# Build-specific settings
|
|
jobs:
|
|
include:
|
|
- stage: "File Tests" #This is the odd man out, with specific installs and stuff.
|
|
name: "Validate Files"
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3
|
|
- python3-pip
|
|
- python3-setuptools
|
|
install: #Need python for some of the tag matching stuff
|
|
- tools/travis/install_build_deps.sh
|
|
script:
|
|
- tools/travis/validate_files.sh
|
|
- tools/travis/build_tgui.sh
|
|
- stage: "Unit Tests"
|
|
env: TEST_DEFINE="UNIT_TEST" TEST_FILE="code/_unit_tests.dm" RUN="1"
|
|
name: "Compile normally (unit tests)"
|
|
- stage: "Isolation Tests"
|
|
env: TEST_DEFINE="MAP_TEST" TEST_FILE="code/_map_tests.dm" RUN="0"
|
|
name: "Compile POIs (no run)"
|
|
- env: TEST_DEFINE="AWAY_MISSION_TEST" TEST_FILE="code/_away_mission_tests.dm" RUN="0"
|
|
name: "Compile away missions (no run)"
|
|
|