mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
ci: re-enable smoke windows and macos on non-gh runners
This commit is contained in:
1 parent
9a6140877b
commit
272adc7b6f
2 files changed
-6
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user