commit 6938c14fc85d49487d0e4d943ed60c725d4fa89e
parent a03db0e5f50e30ffb5c5326eff51d5161e5203c6
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 26 Apr 2021 22:37:14 +0200
also build anastasis
Diffstat:
2 files changed, 60 insertions(+), 5 deletions(-)
diff --git 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,10 +307,22 @@ 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
@@ -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'),
@@ -246,12 +246,37 @@ DOC_FACTORY.addStep(
)
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/"
)