mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-29 09:34:45 +00:00
ci: cleanup
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -333,7 +333,7 @@ jobs:
|
||||
run: nix build .#ghostty-releasefast
|
||||
|
||||
- name: Check version
|
||||
run: result/bin/ghostty +version | grep -q 'builtin.OptimizeMode.ReleaseFast'
|
||||
run: result/bin/ghostty +version | grep -q '.ReleaseFast'
|
||||
|
||||
- name: Check to see if the binary has been stripped
|
||||
run: nm result/bin/.ghostty-wrapped 2>&1 | grep -q 'no symbols'
|
||||
@@ -342,7 +342,7 @@ jobs:
|
||||
run: nix build .#ghostty-debug
|
||||
|
||||
- name: Check version
|
||||
run: result/bin/ghostty +version | grep -q 'builtin.OptimizeMode.Debug'
|
||||
run: result/bin/ghostty +version | grep -q '.Debug'
|
||||
|
||||
- name: Check to see if the binary has not been stripped
|
||||
run: nm result/bin/.ghostty-wrapped 2>&1 | grep -q 'main_ghostty.main'
|
||||
@@ -513,7 +513,7 @@ jobs:
|
||||
$fileContent = Get-Content -Path "build.zig" -Raw
|
||||
$pattern = 'buildpkg\.requireZig\("(.*?)"\);'
|
||||
$zigVersion = [regex]::Match($fileContent, $pattern).Groups[1].Value
|
||||
$version = "zig-windows-x86_64-$zigVersion"
|
||||
$version = "zig-x86_64-windows-$zigVersion"
|
||||
Write-Output $version
|
||||
$uri = "https://ziglang.org/download/$zigVersion/$version.zip"
|
||||
Invoke-WebRequest -Uri "$uri" -OutFile ".\zig-windows.zip"
|
||||
|
||||
Reference in New Issue
Block a user