mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-25 18:25:45 +01:00
31 lines
703 B
YAML
31 lines
703 B
YAML
image: netbsd/latest
|
|
packages:
|
|
- python311
|
|
- SDL2
|
|
- freetype2
|
|
- fontconfig
|
|
- libopus
|
|
- pkgconf
|
|
- bzip2
|
|
sources:
|
|
- https://git.sr.ht/~a1batross/xash3d-fwgs
|
|
tasks:
|
|
- client: |
|
|
cd xash3d-fwgs
|
|
python3.11 waf configure --enable-tests --enable-engine-tests build install --destdir=bin
|
|
- server: |
|
|
cd xash3d-fwgs
|
|
python3.11 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-netbsd-amd64.tar.bz2 *
|
|
artifacts:
|
|
- xash3d-fwgs/bin/xash3d-fwgs-netbsd-amd64.tar.bz2
|
|
|