From dd310ab85113297275f82afcce20c1858136f38f Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Fri, 10 Nov 2023 03:55:20 +0500 Subject: [PATCH] ci: upgrade freebsd tasks. --- .cirrus.yml | 22 +++++++++++++++++----- scripts/cirrus/build_freebsd.sh | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5c6b0a24..f9802c68 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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: 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: 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 diff --git a/scripts/cirrus/build_freebsd.sh b/scripts/cirrus/build_freebsd.sh index 554313d0..fbc41b69 100755 --- a/scripts/cirrus/build_freebsd.sh +++ b/scripts/cirrus/build_freebsd.sh @@ -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