Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7a071a7
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 20, 2022
dc60faf
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 21, 2022
e29027e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 22, 2022
84fa77f
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 23, 2022
d13ef4f
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 24, 2022
cb4f0e2
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 27, 2022
d09d539
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 28, 2022
ecac0ca
Merge remote-tracking branch 'origin/main' into darc-main-a78401f7-71…
radical Sep 29, 2022
60e9f8c
InstallWorkloadFromArtifacts: Remove hack because we have an updated …
radical Sep 29, 2022
55120ac
[wasm] WBT: Make project names unique
radical Sep 29, 2022
0678940
[wasm] WBT: Use a clean NUGET_PACKAGES dir separate from the project …
radical Sep 29, 2022
0aa1b5a
[wasm] WBT: Fixes to work with latest sdk
radical Sep 29, 2022
57ff0dd
Revert to test projects created in bindir, instead of a temp one
radical Sep 29, 2022
1a731fb
[wasm] fix weird build failures
radical Sep 29, 2022
33dbf98
PInvokeTableGenerator: Find path to WasmAppBuilder.dll at test time
radical Sep 29, 2022
28cfbcd
WasmAppHost: allow rollForward to work with newer sdks
radical Sep 29, 2022
785504e
Don't use the nuget packages directory as fallback.
radical Sep 29, 2022
3a15bdf
[wasm] Use the latest sdk for Wasm.Build.Tests
radical Sep 29, 2022
dec9861
Add missing nuget8.config
radical Sep 29, 2022
33e3679
WBT: workaround for https://github.com/dotnet/runtime/issues/76201
radical Sep 29, 2022
3715daa
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 29, 2022
38db31c
Merge remote-tracking branch 'origin/main' into darc-main-a78401f7-71…
radical Sep 29, 2022
a156939
Revert "WBT: workaround for https://github.com/dotnet/runtime/issues/…
radical Sep 29, 2022
654ff9f
Revert "Add missing nuget8.config"
radical Sep 29, 2022
5770b7a
Revert "[wasm] Use the latest sdk for Wasm.Build.Tests"
radical Sep 29, 2022
dfc3398
Revert "Don't use the nuget packages directory as fallback."
radical Sep 29, 2022
37030c3
Revert "WasmAppHost: allow rollForward to work with newer sdks"
radical Sep 29, 2022
63a43b8
Revert "PInvokeTableGenerator: Find path to WasmAppBuilder.dll at tes…
radical Sep 29, 2022
8b7a671
Revert "[wasm] fix weird build failures"
radical Sep 29, 2022
208afcd
Revert "Revert to test projects created in bindir, instead of a temp …
radical Sep 29, 2022
454a7c2
Revert "[wasm] WBT: Fixes to work with latest sdk"
radical Sep 29, 2022
c263ad7
Revert "[wasm] WBT: Use a clean NUGET_PACKAGES dir separate from the …
radical Sep 29, 2022
c484e5a
Revert "[wasm] WBT: Make project names unique"
radical Sep 29, 2022
cb9e7a6
Revert "InstallWorkloadFromArtifacts: Remove hack because we have an …
radical Sep 29, 2022
5dcce55
Fix Wasm.Build.Tests failures
radical Sep 29, 2022
4a8d824
WasmAppHost: Set rollForward=latestMajor to work with newer sdks
radical Sep 29, 2022
3d09873
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Sep 30, 2022
6299fc8
Merge branch 'main' into darc-main-a78401f7-71cf-4b70-b4fd-407118bf3454
radical Sep 30, 2022
1c2a84d
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 1, 2022
8e2cd6f
Revert changes to source-build.yml
akoeplinger Oct 3, 2022
6f5768e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 3, 2022
98c57bf
Revert changes again
akoeplinger Oct 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "[wasm] fix weird build failures"
This reverts commit 1a731fb.
  • Loading branch information
radical committed Sep 29, 2022
commit 8b7a67137bf8587cdc98901ed2c6c3d4a9dcbd18
1 change: 1 addition & 0 deletions src/mono/wasm/Wasm.Build.Tests/BuildEnvironment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public BuildEnvironment()
EnvVars["DOTNET_INSTALL_DIR"] = sdkForWorkloadPath;
EnvVars["DOTNET_MULTILEVEL_LOOKUP"] = "0";
EnvVars["DOTNET_SKIP_FIRST_TIME_EXPERIENCE"] = "1";
EnvVars["MSBuildSDKsPath"] = string.Empty;
EnvVars["PATH"] = $"{sdkForWorkloadPath}{Path.PathSeparator}{Environment.GetEnvironmentVariable("PATH")}";
EnvVars["EM_WORKAROUND_PYTHON_BUG_34780"] = "1";

Expand Down
3 changes: 0 additions & 3 deletions src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -840,9 +840,6 @@ public static (int exitCode, string buildOutput) RunProcess(string path,
processStartInfo.EnvironmentVariables[envVar.Key] = envVar.Value;
_testOutput.WriteLine($"\t{envVar.Key} = {envVar.Value}");
}

// runtime repo sets this, which interferes with the tests
processStartInfo.RemoveEnvironmentVariables("MSBuildSDKsPath");
}

Process process = new ();
Expand Down
13 changes: 0 additions & 13 deletions src/mono/wasm/Wasm.Build.Tests/HelperExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,5 @@ public static void UpdateTo(this IDictionary<string, (string fullPath, bool unch
dict[filename] = (oldValue.fullPath, unchanged);
}
}

public static ProcessStartInfo RemoveEnvironmentVariables(this ProcessStartInfo psi, params string[] names)
{
var env = psi.Environment;
foreach (string name in names)
{
string? key = env.Keys.FirstOrDefault(k => string.Compare(k, name, StringComparison.OrdinalIgnoreCase) == 0);
if (key is not null)
env.Remove("MSBuildSDKsPath");
}

return psi;
}
}
}
3 changes: 0 additions & 3 deletions src/mono/wasm/Wasm.Build.Tests/ToolCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ private Process CreateProcess(string executable, string args)
psi.Environment["DOTNET_MULTILEVEL_LOOKUP"] = "0";
psi.Environment["DOTNET_SKIP_FIRST_TIME_EXPERIENCE"] = "1";

// runtime repo sets this, which interferes with the tests
psi.RemoveEnvironmentVariables("MSBuildSDKsPath");
AddEnvironmentVariablesTo(psi);
AddWorkingDirectoryTo(psi);
var process = new Process
Expand Down Expand Up @@ -203,7 +201,6 @@ private void AddEnvironmentVariablesTo(ProcessStartInfo psi)
{
foreach (var item in Environment)
{
_testOutput.WriteLine($"\t[{item.Key}] = {item.Value}");
psi.Environment[item.Key] = item.Value;
}
}
Expand Down