From dfc34502469e9c975bf78011b0efc365c11e9779 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 10 Oct 2023 00:50:57 +0200 Subject: [PATCH] Switch to testing on Ubuntu 16.04 and 22.04. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cscript b/cscript index f7e8e1bf..ab52e4d3 100644 --- a/cscript +++ b/cscript @@ -41,8 +41,8 @@ def build(target, options): cmd = './waf configure --disable-examples --disable-dumpimage --disable-benchmarks --prefix=%s' % target.directory if target.platform == 'linux': cmd += ' --static' - if not (target.distro == 'ubuntu' and target.version == '18.04'): - # We only build tests on Ubuntu 18.04 + if target.distro != 'ubuntu' or not target.version in ('16.04', '22.04'): + # We only build tests on Ubuntu 16.04 and 22.04 cmd += ' --disable-tests' elif target.platform == 'windows': cmd += f' --target-windows-{target.bits}' -- 2.30.2