Skip to content

The agent that grows with you

ci: re-enable smoke windows and macos on non-gh runners

Maciej Lisiewski272adc7b6faa
diff --git a/tests/install/macos-bundle-smoke.sh b/tests/install/macos-bundle-smoke.sh
index 87fe40c7c52..622030d683c 100644
--- a/tests/install/macos-bundle-smoke.sh
+++ b/tests/install/macos-bundle-smoke.sh
@@ -2,9 +2,6 @@
# Consumes receipt-verified bytes; never builds, repairs, or relaxes Gatekeeper.
set -euo pipefail
fail() { printf '%s\n' "bundle smoke: $*" >&2; exit 1; }
-[[ ${GITHUB_ACTIONS:-} == true && ${RUNNER_ENVIRONMENT:-} == github-hosted && $(uname -s) == Darwin ]] ||
- fail 'Disposable native GitHub-hosted macOS runner required'
-
artifact= arch= commit= tag= channel_request= work= out=
while (($#)); do
(($# >= 2)) || fail "Missing value for $1"
diff --git a/tests/install/windows-bundle-smoke.ps1 b/tests/install/windows-bundle-smoke.ps1
index e0ad2ff5a83..78e20658337 100644
--- a/tests/install/windows-bundle-smoke.ps1
+++ b/tests/install/windows-bundle-smoke.ps1
@@ -10,9 +10,6 @@ param(
)
$ErrorActionPreference = 'Stop'
Set-StrictMode -Version Latest
-if ($env:GITHUB_ACTIONS -cne 'true' -or $env:RUNNER_ENVIRONMENT -cne 'github-hosted' -or $env:OS -cne 'Windows_NT') {
- throw 'Disposable native GitHub-hosted Windows runner required'
-}
if ($Commit -cnotmatch '^[a-f0-9]{40}$') { throw 'Expected exact lowercase full commit SHA' }
if (-not [IO.Path]::IsPathRooted($Artifact) -or -not (Test-Path -LiteralPath $Artifact -PathType Leaf)) { throw 'Absolute artifact path required' }
$Artifact = (Resolve-Path -LiteralPath $Artifact).Path