From 471f18e567efde55fd3bb9c223d8ff893ced2c04 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 16 Jan 2021 09:55:19 -0800 Subject: [PATCH] Install shared deps for tests --- tools/plan-publish.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/plan-publish.js b/tools/plan-publish.js index 45b025f..6cced7e 100644 --- a/tools/plan-publish.js +++ b/tools/plan-publish.js @@ -143,8 +143,14 @@ async function planDebianPackages(opts) { }, upload: async () => { if (type === "config") { + const clauses = []; + for (const dep of (langConfigs[lang].install || {}).riju || []) { + clauses.push("make install T=shared L=${dep}"); + } + clauses.push("make installs L=${lang}"); + clauses.push("make test"); await runCommand( - `make shell I=runtime CMD="make installs test L=${lang}"` + `make shell I=runtime CMD="${clauses.join(" && ")}"` ); } await runCommand(`make upload L=${lang} T=${type}`);