mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-08-26 05:41:53 +00:00
scripts: cirrus: build dedicated server alongside full client for slightly faster builds
This commit is contained in:
parent
1abb16638f
commit
291f24a611
@ -7,8 +7,7 @@ task:
|
||||
- pkg install -y pkgconf git sdl2 python fontconfig libvorbis opusfile bzip2 libbacktrace
|
||||
- git submodule update --init --recursive
|
||||
test_script:
|
||||
- ./scripts/cirrus/build_freebsd.sh dedicated
|
||||
- ./scripts/cirrus/build_freebsd.sh full
|
||||
- ./scripts/cirrus/build_freebsd.sh
|
||||
|
||||
task:
|
||||
name: freebsd-15-amd64
|
||||
@ -19,5 +18,4 @@ task:
|
||||
- pkg install -y pkgconf git sdl2 python fontconfig libvorbis opusfile bzip2 libbacktrace
|
||||
- git submodule update --init --recursive
|
||||
test_script:
|
||||
- ./scripts/cirrus/build_freebsd.sh dedicated
|
||||
- ./scripts/cirrus/build_freebsd.sh full
|
||||
- ./scripts/cirrus/build_freebsd.sh
|
||||
|
@ -2,25 +2,12 @@
|
||||
|
||||
. scripts/lib.sh
|
||||
|
||||
if [ "$1" = "dedicated" ]; then
|
||||
APP=xashds
|
||||
else # elif [ "$1" = "full" ]; then
|
||||
APP=xash3d-fwgs
|
||||
fi
|
||||
|
||||
build_engine()
|
||||
{
|
||||
# Build engine
|
||||
cd "$CIRRUS_WORKING_DIR" || die
|
||||
|
||||
if [ "$APP" = "xashds" ]; then
|
||||
./waf configure -T release -d --enable-tests || die_configure
|
||||
elif [ "$APP" = "xash3d-fwgs" ]; then
|
||||
./waf configure -T release --enable-utils --enable-gl4es --enable-gles1 --enable-gles2 --enable-tests || die_configure
|
||||
else
|
||||
die
|
||||
fi
|
||||
|
||||
./waf configure --enable-utils --enable-all-renderers --enable-tests --enable-dedicated || die_configure
|
||||
./waf build || die
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user