diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-10 00:50:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-10 10:58:39 +0200 |
| commit | dfc34502469e9c975bf78011b0efc365c11e9779 (patch) | |
| tree | 1bf34a5ba45e08c8cc9cc53f857266e69c219977 /cscript | |
| parent | 6d1582f3c4b5afe57bdc3c34dada275a05a961a4 (diff) | |
Switch to testing on Ubuntu 16.04 and 22.04.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}' |
