Skip to content

Commit

Permalink
chore: test windows ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aiwantaozi committed Nov 21, 2024
1 parent 1260c4e commit f623803
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions hack/windows/ci.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ function Invoke-CI {
# & make test @ciArgs
# if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

& make validate @ciArgs
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

& make build @ciArgs
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

Expand Down
11 changes: 0 additions & 11 deletions hack/windows/lint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ function Lint {
}
}

function Remove-BOM {
$filePath = Join-Path $ROOT_DIR -ChildPath "install.ps1"

$bytes = [System.IO.File]::ReadAllBytes($filePath)
if ($bytes[0] -eq 0xEF -and $bytes[1] -eq 0xBB -and $bytes[2] -eq 0xBF) {
[System.IO.File]::WriteAllBytes($filePath, $bytes[3..($bytes.Length - 1)])
}
Write-Host "BOM removed from $filePath"
}

#
# main
#
Expand All @@ -66,7 +56,6 @@ SpeechBox.Log.Info "+++ LINT +++"
try {
Get-PSScriptAnalyzer
Lint "speech_box"
Remove-BOM
}
catch {
SpeechBox.Log.Fatal "failed to lint: $($_.Exception.Message)"
Expand Down

0 comments on commit f623803

Please sign in to comment.