mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-08-31 16:21:59 +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
|
- pkg install -y pkgconf git sdl2 python fontconfig libvorbis opusfile bzip2 libbacktrace
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
test_script:
|
test_script:
|
||||||
- ./scripts/cirrus/build_freebsd.sh dedicated
|
- ./scripts/cirrus/build_freebsd.sh
|
||||||
- ./scripts/cirrus/build_freebsd.sh full
|
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: freebsd-15-amd64
|
name: freebsd-15-amd64
|
||||||
@ -19,5 +18,4 @@ task:
|
|||||||
- pkg install -y pkgconf git sdl2 python fontconfig libvorbis opusfile bzip2 libbacktrace
|
- pkg install -y pkgconf git sdl2 python fontconfig libvorbis opusfile bzip2 libbacktrace
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
test_script:
|
test_script:
|
||||||
- ./scripts/cirrus/build_freebsd.sh dedicated
|
- ./scripts/cirrus/build_freebsd.sh
|
||||||
- ./scripts/cirrus/build_freebsd.sh full
|
|
||||||
|
@ -2,25 +2,12 @@
|
|||||||
|
|
||||||
. scripts/lib.sh
|
. scripts/lib.sh
|
||||||
|
|
||||||
if [ "$1" = "dedicated" ]; then
|
|
||||||
APP=xashds
|
|
||||||
else # elif [ "$1" = "full" ]; then
|
|
||||||
APP=xash3d-fwgs
|
|
||||||
fi
|
|
||||||
|
|
||||||
build_engine()
|
build_engine()
|
||||||
{
|
{
|
||||||
# Build engine
|
# Build engine
|
||||||
cd "$CIRRUS_WORKING_DIR" || die
|
cd "$CIRRUS_WORKING_DIR" || die
|
||||||
|
|
||||||
if [ "$APP" = "xashds" ]; then
|
./waf configure --enable-utils --enable-all-renderers --enable-tests --enable-dedicated || die_configure
|
||||||
./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 build || die
|
./waf build || die
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user