gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: also build anastasis


From: gnunet
Subject: [taler-deployment] branch master updated: also build anastasis
Date: Mon, 26 Apr 2021 22:37:18 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 6938c14  also build anastasis
6938c14 is described below

commit 6938c14fc85d49487d0e4d943ed60c725d4fa89e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Apr 26 22:37:14 2021 +0200

    also build anastasis
---
 bin/taler-deployment | 34 ++++++++++++++++++++++++++++++++--
 buildbot/master.cfg  | 31 ++++++++++++++++++++++++++++---
 2 files changed, 60 insertions(+), 5 deletions(-)

diff --git a/bin/taler-deployment b/bin/taler-deployment
index db4927f..6ecb171 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -233,6 +233,24 @@ def build_sync(r, p):
     (p / "taler-buildstamp").touch()
 
 
+def build_anastasis(r, p):
+    update_checkout(r, p)
+    subprocess.run(["./bootstrap"], check=True)
+    pfx = Path.home() / "local"
+    default_configure(
+        "CFLAGS=-ggdb -O0",
+        "--enable-logging=verbose",
+        f"--with-libgnurl={pfx}",
+        f"--with-microhttpd={pfx}",
+        f"--with-exchange={pfx}",
+        f"--with-merchant={pfx}",
+        f"--with-gnunet={pfx}",
+        "--disable-doc",
+    )
+    subprocess.run(["make", "install"], check=True)
+    (p / "taler-buildstamp").touch()
+
+
 def build_bank(r, p):
     update_checkout(r, p)
     subprocess.run(["pip3", "install", "poetry"], check=True)
@@ -289,9 +307,21 @@ def get_repos(envname):
             Repo(
                 "merchant",
                 "git://git.taler.net/merchant",
-                ["exchange", "libmicrohttpd"],
+                ["exchange"],
                 build_merchant,
             ),
+            Repo(
+                "sync",
+                "git://git.taler.net/sync",
+                ["exchange", "merchant"],
+                build_sync,
+            ),
+            Repo(
+                "anastasis",
+                "git://git.taler.net/anastasis",
+                ["exchange", "merchant"],
+                build_anastasis,
+            ),
             Repo(
                 "wallet-core",
                 "git://git.taler.net/wallet-core",
@@ -340,7 +370,7 @@ def get_repos(envname):
                 "anastasis",
                 "git://git.taler.net/anastasis",
                 ["exchange", "merchant"],
-                build_sync,
+                build_anastasis,
             ),
             Repo(
                 "bank",
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index f81ae9d..e70e8ff 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -225,7 +225,7 @@ DOC_FACTORY.addStep(
     steps.ShellSequence(
         name="tag",
         description="prepare merchant",
-        descriptionDone="directory created",
+        descriptionDone="merchant prepared",
         commands=[
             util.ShellArg(command=["./bootstrap"], logname='bootstrap'),
             util.ShellArg(command=["./configure", "--enable-only-doc"], 
logname='configure'),
@@ -244,14 +244,39 @@ DOC_FACTORY.addStep(
         workdir="../../sources/merchant/doc/doxygen"
     )
 )
+DOC_FACTORY.addStep(
+    steps.ShellSequence(
+        name="tag",
+        description="prepare anastasis",
+        descriptionDone="doxygen on anastasis finished",
+        commands=[
+            util.ShellArg(command=["./bootstrap"], logname='bootstrap'),
+            util.ShellArg(command=["./configure", "--enable-only-doc"], 
logname='configure'),
+            util.ShellArg(command=["cp", 
"../exchange/doc/doxygen/taler-exchange.tag", 
"doc/doxygen/taler-exchange.tag"]),
+            util.ShellArg(command=["cp", 
"../exchange/doc/doxygen/taler-merchant.tag", 
"doc/doxygen/taler-merchant.tag"]),
+        ],
+        workdir="../../sources/anastasis/"
+    )
+)
+DOC_FACTORY.addStep(
+    ShellCommand(
+        name="doxygen::merchant",
+        description="building merchant doxygen documentation",
+        descriptionDone="doxygen on merchant finished",
+        command=["make", "full" ],
+        want_stderr=False,
+        workdir="../../sources/merchant/doc/doxygen"
+    )
+)
+
 DOC_FACTORY.addStep(
     steps.ShellSequence(
         name="doxygen::wallet",
         description="building wallet typescript documentation",
         descriptionDone="typedoc on taler-wallet-core finished",
         commands=[
-            util.ShellArg(command=["pnpm", "install", "-W", "typedoc"]),
-            util.ShellArg(command=["./node_modules/typedoc/bin/typedoc", 
"--out", "dist/typedoc", "--tsconfig", "tsconfig.build.json", 
"packages/taler-util/src/index.ts", "packages/taler-wallet-cli/src/index.ts", 
"packages/taler-wallet-android/src/index.ts", 
"packages/taler-wallet-core/src/index.ts" ]),
+            util.ShellArg(command=["pnpm", "install", "-W", "typedoc"], 
logname="pnpm"),
+            util.ShellArg(command=["./node_modules/typedoc/bin/typedoc", 
"--out", "dist/typedoc", "--tsconfig", "tsconfig.build.json", 
"packages/taler-util/src/index.ts", "packages/taler-wallet-cli/src/index.ts", 
"packages/taler-wallet-android/src/index.ts", 
"packages/taler-wallet-core/src/index.ts" ], logname="typedoc"),
         ],
         workdir="../../sources/wallet-core/"
     )

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]