Skip to content

Commit

Permalink
Some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Jun 13, 2024
1 parent 85da56b commit 5b1fabf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
if: github.ref_type == 'tag'
uses: ncipollo/release-action@v1
with:
name: 'MonoGame.Tool.FFprobe ${{ github.ref_name }}'
name: 'MonoGame.Tool.BasisUniversal ${{ github.ref_name }}'
tag: ${{ github.ref_name }}
allowUpdates: true
removeArtifacts: true
Expand Down
3 changes: 2 additions & 1 deletion build/BuildWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public sealed class BuildWindowsTask : FrostingTask<BuildContext>
public override void Run(BuildContext context)
{
var buildWorkingDir = "basis_universal/";
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DSAN=ON CMakeLists.txt" });
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DSAN=ON CMakeLists.txt" });
context.ReplaceTextInFiles("basis_universal/basisu.vcxproj", "MultiThreadedDLL", "MultiThreaded");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "--build . --config release" });
var files = Directory.GetFiles(System.IO.Path.Combine (buildWorkingDir, "bin", "Release"), "basisu.exe", SearchOption.TopDirectoryOnly);
context.CopyFile(files[0], $"{context.ArtifactsDir}/basisu.exe");
Expand Down

0 comments on commit 5b1fabf

Please sign in to comment.