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

This commit is contained in:
Maciej Lisiewski committed 2026-10-21 03:36:57 +02:00
1 parent 9a6140877b
commit 272adc7b6f
2 files changed
-6

No files matched your search

-3
View File
@@ -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"
-3
View File
@@ -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