You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
652 B
27 lines
652 B
11 months ago
|
image: openbsd/latest
|
||
|
packages:
|
||
|
- python3
|
||
|
- sdl2
|
||
|
- opus
|
||
|
sources:
|
||
|
- https://git.sr.ht/~a1batross/xash3d-fwgs
|
||
|
tasks:
|
||
|
- client: |
|
||
|
cd xash3d-fwgs
|
||
|
python3 waf configure --enable-tests --enable-engine-tests build install --destdir=bin
|
||
|
- server: |
|
||
|
cd xash3d-fwgs
|
||
|
python3 waf configure --reconfigure --dedicated build install --destdir=bin
|
||
|
- run-tests: |
|
||
|
cd xash3d-fwgs/bin
|
||
|
export SDL_VIDEODRIVER=wayland
|
||
|
./xash3d -runtests
|
||
|
./xash -runtests
|
||
|
rm -rf valve/gameinfo.txt test_*
|
||
|
- package: |
|
||
|
cd xash3d-fwgs/bin
|
||
|
tar -cjvf xash3d-fwgs-openbsd-amd64.tar.bz2 *
|
||
|
artifacts:
|
||
|
- xash3d-fwgs/bin/xash3d-fwgs-openbsd-amd64.tar.bz2
|
||
|
|