summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-15 02:21:25 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-15 02:21:25 +0200
commit555f768e574e8cdb8a071a708e7dcfbf9a61080f (patch)
treedcb145d297ac52e6561de5081b68e42d88cceefb
parenta246aa2400e419500e364ae684bdcc419c08f56a (diff)
Also build tests on Ubuntu 22.04.
-rw-r--r--cscript4
1 files 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: