mirror of
https://github.com/ziglang/zig.git
synced 2024-12-16 00:00:21 +00:00
CI: update windows scripts to new CLI module syntax
This commit is contained in:
parent
7fb9f58f85
commit
7cec11a66b
@ -76,15 +76,15 @@ Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
|
||||
CheckLastExitCode
|
||||
|
||||
& "stage3-debug\bin\zig.exe" build-obj `
|
||||
..\lib\compiler_rt.zig `
|
||||
--zig-lib-dir "$ZIG_LIB_DIR" `
|
||||
-ofmt=c `
|
||||
-OReleaseSmall `
|
||||
--name compiler_rt `
|
||||
-femit-bin="compiler_rt-x86_64-windows-msvc.c" `
|
||||
--mod build_options::config.zig `
|
||||
--deps build_options `
|
||||
-target x86_64-windows-msvc
|
||||
--dep build_options `
|
||||
-target x86_64-windows-msvc `
|
||||
--mod root ..\lib\compiler_rt.zig `
|
||||
--mod build_options config.zig
|
||||
CheckLastExitCode
|
||||
|
||||
Import-Module "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
|
||||
|
@ -75,15 +75,15 @@ Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
|
||||
CheckLastExitCode
|
||||
|
||||
& "stage3-release\bin\zig.exe" build-obj `
|
||||
..\lib\compiler_rt.zig `
|
||||
--zig-lib-dir "$ZIG_LIB_DIR" `
|
||||
-ofmt=c `
|
||||
-OReleaseSmall `
|
||||
--name compiler_rt `
|
||||
-femit-bin="compiler_rt-x86_64-windows-msvc.c" `
|
||||
--mod build_options::config.zig `
|
||||
--deps build_options `
|
||||
-target x86_64-windows-msvc
|
||||
--dep build_options `
|
||||
-target x86_64-windows-msvc `
|
||||
--mod root ..\lib\compiler_rt.zig `
|
||||
--mod build_options config.zig
|
||||
CheckLastExitCode
|
||||
|
||||
Import-Module "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
|
||||
|
Loading…
Reference in New Issue
Block a user