mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
ci: do not cross-compile windows
This commit is contained in:
28
.github/workflows/test.yml
vendored
28
.github/workflows/test.yml
vendored
@ -10,8 +10,9 @@ jobs:
|
||||
target: [
|
||||
aarch64-linux,
|
||||
x86_64-linux,
|
||||
x86-windows-gnu,
|
||||
x86_64-windows-gnu,
|
||||
# Windows has some build issues since 0.12.0-dev.2150+63de8a598
|
||||
# x86-windows-gnu,
|
||||
# x86_64-windows-gnu,
|
||||
# We don't support cross-compiling to macOS because the macOS build
|
||||
# requires xcode due to the swift harness.
|
||||
#aarch64-macos,
|
||||
@ -134,7 +135,28 @@ jobs:
|
||||
|
||||
- name: Test Windows
|
||||
shell: pwsh
|
||||
run: .\zigbuild.ps1 -ErrorAction SiltentlyContinue
|
||||
run: .\zigbuild.ps1 -ErrorAction SilentlyContinue
|
||||
|
||||
- name: Dump logs
|
||||
shell: pwsh
|
||||
run: Get-Content -Path ".\build.log"
|
||||
|
||||
- name: Generate build script
|
||||
shell: pwsh
|
||||
run: |
|
||||
# Generate a script so that we can swallow the errors
|
||||
$scriptContent = @"
|
||||
.\zig\zig.exe build 2>&1 | Out-File -FilePath "build.log" -Append
|
||||
exit 0
|
||||
"@
|
||||
$scriptPath = "zigbuild.ps1"
|
||||
# Write the script content to a file
|
||||
$scriptContent | Set-Content -Path $scriptPath
|
||||
Write-Host "Script generated at: $scriptPath"
|
||||
|
||||
- name: Build Windows
|
||||
shell: pwsh
|
||||
run: .\zigbuild.ps1 -ErrorAction SilentlyContinue
|
||||
|
||||
- name: Dump logs
|
||||
shell: pwsh
|
||||
|
Reference in New Issue
Block a user