script: add new autobuild task for building pure python3
authorNoel Power <noel.power@suse.com>
Thu, 27 Sep 2018 09:22:07 +0000 (10:22 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 27 Sep 2018 23:01:23 +0000 (01:01 +0200)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
script/autobuild.py

index 1dbdf8ccc2623321cf29359853048c3565bffc89..e53f49e29f20c52733e85fb076be2b90ddcae93c 100755 (executable)
@@ -54,6 +54,7 @@ builddirs = {
     "samba-ad-dc-2-py3": ".",
     "samba-systemkrb5": ".",
     "samba-nopython": ".",
+    "samba-buildpy3-only": ".",
     "ldb": "lib/ldb",
     "tdb": "lib/tdb",
     "talloc": "lib/talloc",
@@ -399,6 +400,13 @@ tasks = {
         ("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"),
         ("clean", "make clean", "text/plain")],
 
+    "samba-buildpy3-only": [("random-sleep", "script/random-sleep.sh 60 600", "text/plain"),
+                   ("configure", "PYTHON='python3' ./configure.developer --with-selftest-prefix=./bin/ab " + samba_configure_params, "text/plain"),
+                   ("make", "PYTHON='python3' make -j", "text/plain"),
+                   ("install", "PYTHON='python3' make install", "text/plain"),
+                   ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
+                   ("clean", "PYTHON='python3' make clean", "text/plain")],
+
     # these are useful for debugging autobuild
     'pass': [("pass", 'echo passing && /bin/true', "text/plain")],
     'fail': [("fail", 'echo failing && /bin/false', "text/plain")]