mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
DO NOT MERGE: internal build with the WSL host gate on
This commit is contained in:
@@ -1350,7 +1350,8 @@ jobs:
|
||||
|
||||
package_windows:
|
||||
name: package (windows)
|
||||
needs: [code_paths, preflight]
|
||||
# Internal build only: the package doesn't need static analysis.
|
||||
needs: [code_paths]
|
||||
if: needs.code_paths.outputs.package_windows == 'true'
|
||||
runs-on: windows-2022
|
||||
timeout-minutes: 30
|
||||
@@ -1555,6 +1556,15 @@ jobs:
|
||||
- name: Smoke packaged CLI
|
||||
run: node config/scripts/smoke-packaged-cli.mjs --app-dir=dist/win-unpacked
|
||||
|
||||
# Internal build only (never merge): keeps the packaged app for a real-host install.
|
||||
- name: Upload unpacked Windows app
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: orca-win-unpacked
|
||||
path: dist/win-unpacked
|
||||
retention-days: 5
|
||||
if-no-files-found: error
|
||||
|
||||
e2e:
|
||||
name: e2e
|
||||
needs: [code_paths, preflight]
|
||||
|
||||
@@ -8,5 +8,6 @@ export const WSL_HOSTS_INTERNAL_GATE_ENV = 'ORCA_INTERNAL_WSL_HOSTS'
|
||||
export function isWslHostsInternalGateOpen(
|
||||
env: Readonly<Record<string, string | undefined>>
|
||||
): boolean {
|
||||
return env[WSL_HOSTS_INTERNAL_GATE_ENV] === '1'
|
||||
// Internal build only (never merge): gate defaults open; '0' still closes it.
|
||||
return env[WSL_HOSTS_INTERNAL_GATE_ENV] !== '0'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user