Updates
CI / test (push) Successful in 2m37s
Release rolling / release (push) Successful in 11m29s

This commit is contained in:
Raven Scott
2026-07-30 15:45:33 -04:00
parent 4b5b78892f
commit 726dbdfd56
10 changed files with 523 additions and 28 deletions
+19
View File
@@ -90,10 +90,29 @@ function predownloadElectron(hosts) {
})
}
function ensureBareRuntimes(hosts) {
if (process.env.PEARDATA_SKIP_QVAC === '1' || process.env.PEARDATA_SKIP_QVAC === 'true') {
console.log('[make] skip bare-runtime ensure (PEARDATA_SKIP_QVAC=1)')
return
}
// Only QVAC-native hosts need the platform bare binary in the client package
const need = hosts.filter((h) => hostSupportsQvacNative(h))
if (!need.length) return
console.log(`[make] ensuring bare-runtime platform packages: ${need.join(', ')}`)
run(process.execPath, [
path.join(root, 'scripts', 'ensure-qvac-bare-runtimes.cjs'),
'--hosts',
need.join(','),
])
}
function makeClient(hosts = CLIENT_HOSTS) {
console.log(`[make] client hosts: ${hosts.join(', ')}`)
npmRun('build:client-bundle')
predownloadElectron(hosts)
// Cross-host CI: npm ci never installs darwin/win32 optional bare-runtime-* packages.
// Install them before forge packages so the app ships the Bare worker binary.
ensureBareRuntimes(hosts)
for (const host of hosts) {
const script = clientNpmScript(host)