Skip to content

Commit

Permalink
libvlc windows preview: switch to llvm builds (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfkl authored Apr 16, 2024
1 parent 252f849 commit 57019f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions buildsystem/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ Task("Package-windows-classic-nightly")
Task("Download-win32-nightly")
.Does(async () =>
{
await DownloadArtifact("win32");
await DownloadArtifact("win32-llvm");
});

Task("Download-win64-nightly")
.IsDependentOn("Clean")
.Does(async () =>
{
await DownloadArtifact("win64");
await DownloadArtifact("win64-llvm");
});

Task("Publish")
Expand Down Expand Up @@ -136,12 +136,12 @@ async Task DownloadArtifact(string arch)
client.Dispose();
string artifact = string.Empty;

if(arch == "win32")
if(arch.StartsWith("win32"))
{
packageVersionWin32 = today;
artifact = $"artifact-{packageVersionWin32}-{arch}";
}
else if(arch == "win64")
else if(arch.StartsWith("win64"))
{
packageVersionWin64 = today;
artifact = $"artifact-{packageVersionWin64}-{arch}";
Expand Down Expand Up @@ -178,8 +178,8 @@ void PrepareForPackaging()
{
Console.WriteLine("PrepareForPackaging...");

var artifactwin32 = $"../artifacts/artifact-{packageVersionWin32}-win32";
var artifactwin64 = $"../artifacts/artifact-{packageVersionWin64}-win64";
var artifactwin32 = $"../artifacts/artifact-{packageVersionWin32}-win32-llvm";
var artifactwin64 = $"../artifacts/artifact-{packageVersionWin64}-win64-llvm";

var libsWin32 = new []
{
Expand Down

0 comments on commit 57019f4

Please sign in to comment.