mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
ci: run windows tests and also run them concurrently (#7758)
This commit is contained in:
@@ -11,5 +11,7 @@ Set-Content $Script1 -Force -NoNewline -Value $CrossCompileCodegen
|
||||
Set-Content $Script2 -Force -NoNewline -Value $CreateHashTable
|
||||
|
||||
# copy into build-release as well
|
||||
Remove-Item -Path "build-release/codegen" -Recurse -Force -ErrorAction SilentlyContinue
|
||||
Remove-Item -Path "build-release/js" -Recurse -Force -ErrorAction SilentlyContinue
|
||||
Copy-Item -Path "build/codegen" -Destination "build-release/codegen" -Recurse -Force
|
||||
Copy-Item -Path "build/js" -Destination "build-release/codegen" -Recurse -Force
|
||||
Copy-Item -Path "build/js" -Destination "build-release/js" -Recurse -Force
|
||||
@@ -34,7 +34,9 @@ $CC = "clang-cl"
|
||||
$CXX = "clang-cl"
|
||||
|
||||
$CFLAGS = '/O2'
|
||||
# $CFLAGS = '/O2 /MT'
|
||||
$CXXFLAGS = '/O2'
|
||||
# $CXXFLAGS = '/O2 /MT'
|
||||
|
||||
if ($Baseline) {
|
||||
$CFLAGS += ' -march=nehalem'
|
||||
@@ -49,7 +51,6 @@ $CMAKE_FLAGS = @(
|
||||
"-DCMAKE_C_FLAGS=`"$CFLAGS`"",
|
||||
"-DCMAKE_CXX_FLAGS=`"$CXXFLAGS`""
|
||||
)
|
||||
|
||||
$env:CC = "clang-cl"
|
||||
$env:CXX = "clang-cl"
|
||||
$env:CFLAGS = $CFLAGS
|
||||
|
||||
Reference in New Issue
Block a user