Skip to content

Commit

Permalink
Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoolioh committed Oct 28, 2024
1 parent dfe0739 commit c27aad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windows/build-artifacts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Write-Host "Building project into $($output_dir)" -ForegroundColor Magenta

# build inside the crate to use the config.toml file
pushd profiling-ffi
Invoke-Call -LddOutputFolder $x86_release_dir -ScriptBlock { cargo build -p builder --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --target i686-pc-windows-msvc --release}
Invoke-Call -LddOutputFolder $x86_release_dir -ScriptBlock { gci env:* | sort-object name; cargo build -p builder --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --target i686-pc-windows-msvc --release}
Invoke-Call -LddOutputFolder $x86_debug_dir -ScriptBlock { cargo build -p builder --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --target i686-pc-windows-msvc }
Invoke-Call -LddOutputFolder $x86_64_release_dir -ScriptBlock { cargo build -p builder --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --target i686-pc-windows-msvc --release}
Invoke-Call -LddOutputFolder $x86_64_debug_dir -ScriptBlock { cargo build -p builder --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --target i686-pc-windows-msvc }
Expand All @@ -45,6 +45,7 @@ popd
# Set-Location ..

Write-Host "Copying artifacts" -ForegroundColor Magenta
New-Item -Path "c:\" -Name "logfiles" -ItemType "directory"
Copy-Item -Path $x86_release_dir\* $output_dir\ -Recurse
Copy-Item -Path $x86_debug_dir\* $output_dir\ -Recurse
Copy-Item -Path $x86_64_release_dir\* $output_dir\ -Recurse
Expand Down

0 comments on commit c27aad9

Please sign in to comment.