Skip to content

Commit

Permalink
more fixes to powershell provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Apr 5, 2024
1 parent 9ebe957 commit b1e729f
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,6 @@ build {
"rustc --version",
"cargo --version",

"# Install common tools with cargo",
"cargo install cargo-cache",
"cargo install cargo-sweep",

"# Cleanup Cargo crates cache",
"Remove-Item \"$env:CARGO_HOME\\registry\\*\" -Recurse -Force",
"Write-Host \"Rust and common toolsets have been successfully installed.\"",

"# Install the latest stable version of llvm and clang compilers",
"choco install llvm -y",

Expand All @@ -219,7 +211,6 @@ build {

"# Verify LLVM installation",
"clang --version",
"llvm-config --version",

"Write-Host \"LLVM and Clang have been successfully installed and added to the PATH.\"",

Expand All @@ -240,6 +231,11 @@ build {
"# Install .NET SDK",
"choco install dotnet-sdk -y",

"# Add .NET SDK to the PATH",
"$dotnetSdkPath = \"C:\\Program Files\\dotnet\"",
"[Environment]::SetEnvironmentVariable(\"Path\", $env:Path + \";$dotnetSdkPath\", [System.EnvironmentVariableTarget]::Machine)",
"$env:Path = [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\")",

"# Install AzureSignTool",
"Write-Host \"Install AzureSignTool\"",
"dotnet tool install --global AzureSignTool",
Expand Down

0 comments on commit b1e729f

Please sign in to comment.