Browse Source

ci: upgrade freebsd tasks.

pull/2/head
Andrey Akhmichin 1 year ago committed by Alibek Omarov
parent
commit
dd310ab851
  1. 22
      .cirrus.yml
  2. 2
      scripts/cirrus/build_freebsd.sh

22
.cirrus.yml

@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
task:
name: freebsd-12-amd64
freebsd_instance:
image_family: freebsd-12-3
image_family: freebsd-12-4
setup_script:
- pkg update
- pkg install -y git sdl2 python fontconfig
- pkg install -y pkgconf git sdl2 python fontconfig opus
- git submodule update --init --recursive
test_script:
- ./scripts/cirrus/build_freebsd.sh dedicated
@ -13,10 +13,10 @@ task: @@ -13,10 +13,10 @@ task:
task:
name: freebsd-13-amd64
freebsd_instance:
image_family: freebsd-13-1
image_family: freebsd-13-2
setup_script:
- pkg update
- pkg install -y git sdl2 python fontconfig
- pkg install -y pkgconf git sdl2 python fontconfig opus
- git submodule update --init --recursive
test_script:
- ./scripts/cirrus/build_freebsd.sh dedicated
@ -28,7 +28,19 @@ task: @@ -28,7 +28,19 @@ task:
image_family: freebsd-14-0-snap
setup_script:
- pkg update
- pkg install -y git sdl2 python fontconfig
- pkg install -y pkgconf git sdl2 python fontconfig opus
- git submodule update --init --recursive
test_script:
- ./scripts/cirrus/build_freebsd.sh dedicated
- ./scripts/cirrus/build_freebsd.sh full
task:
name: freebsd-15-amd64
freebsd_instance:
image_family: freebsd-15-0-snap
setup_script:
- pkg update
- pkg install -y pkgconf git sdl2 python fontconfig opus
- git submodule update --init --recursive
test_script:
- ./scripts/cirrus/build_freebsd.sh dedicated

2
scripts/cirrus/build_freebsd.sh

@ -16,7 +16,7 @@ build_engine() @@ -16,7 +16,7 @@ build_engine()
if [ "$APP" = "xashds" ]; then
./waf configure -T release -d --enable-tests || die_configure
elif [ "$APP" = "xash3d-fwgs" ]; then
./waf configure -T release --enable-stb --enable-utils --enable-gl4es --enable-gles1 --enable-gles2 --enable-tests || die_configure
./waf configure -T release --enable-utils --enable-gl4es --enable-gles1 --enable-gles2 --enable-tests || die_configure
else
die
fi

Loading…
Cancel
Save