diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 16:45:52 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 19:49:08 -0700 |
| commit | 7cec11a66bfd9d38bd355ba55aca4fa0e61ba4b5 (patch) | |
| tree | 5cabd289d0e88fce6e70277f4ee74853424070c4 /ci | |
| parent | 7fb9f58f85f1dc9c18c49bc1114d9d978fdbed33 (diff) | |
| download | zig-7cec11a66bfd9d38bd355ba55aca4fa0e61ba4b5.tar.gz zig-7cec11a66bfd9d38bd355ba55aca4fa0e61ba4b5.zip | |
CI: update windows scripts to new CLI module syntax
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/x86_64-windows-debug.ps1 | 8 | ||||
| -rw-r--r-- | ci/x86_64-windows-release.ps1 | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ci/x86_64-windows-debug.ps1 b/ci/x86_64-windows-debug.ps1 index c1ae92494e..bb6ff3ebee 100644 --- a/ci/x86_64-windows-debug.ps1 +++ b/ci/x86_64-windows-debug.ps1 @@ -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" diff --git a/ci/x86_64-windows-release.ps1 b/ci/x86_64-windows-release.ps1 index 988402606b..7467e3deaa 100644 --- a/ci/x86_64-windows-release.ps1 +++ b/ci/x86_64-windows-release.ps1 @@ -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" |
