Install shared deps for tests

This commit is contained in:
Radon Rosborough 2021-01-16 09:55:19 -08:00
parent 646eda0bbf
commit 471f18e567
1 changed files with 7 additions and 1 deletions

View File

@ -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}`);