From 555f768e574e8cdb8a071a708e7dcfbf9a61080f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 15 Oct 2022 02:21:25 +0200 Subject: [PATCH] Also build tests on Ubuntu 22.04. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cscript b/cscript index 4659ce285..1c62f3382 100644 --- a/cscript +++ b/cscript @@ -467,11 +467,11 @@ def configure_options(target, options, for_package=False): opt = ' --warnings-are-errors' if for_package or not ( - (target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or + (target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ['18.04', '22.04']) or (target.platform == 'osx') or (target.platform == 'windows') ): - # Currently we only build tests on Ubuntu 18.04, macOS and Windows + # Currently we only build tests on macOS, Windows, and some Ubuntu versions opt += ' --disable-tests' if target.debug: -- 2.30.2