Skip to content

Commit

Permalink
Action msbuild: Fetch MLA library files. Update to mla-1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bureau Audit committed Jun 3, 2024
1 parent a3ab2c1 commit 0123663
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,9 @@ jobs:
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
run: |
Invoke-WebRequest -Uri https://github.com/ANSSI-FR/MLA/releases/download/mla-1.3.0/libmla-windows-i686-1.3.0.zip -OutFile libmla-windows-i686.zip
Invoke-WebRequest -Uri https://github.com/ANSSI-FR/MLA/releases/download/mla-1.3.0/libmla-windows-x86_64-1.3.0.zip -OutFile libmla-windows-x86_64.zip
Expand-Archive -Path libmla-windows-i686.zip -DestinationPath .\mla\libmla-windows-i686
Expand-Archive -Path libmla-windows-x86_64.zip -DestinationPath .\mla\libmla-windows-x86_64
msbuild /m /p:Platform=x64 /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
1 change: 1 addition & 0 deletions MLA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#define MLA_RELEASE ""
#endif
#pragma comment(lib, "mla\\libmla-windows-" MLA_ARCH MLA_RELEASE "\\mla.lib")
#pragma comment(lib, "bcrypt.lib")

// Compression level 5 found to be most efficient for ORADAD's CSV files and execution time constraints
//const uint32_t ulGlobalCompressionLevel = 5;
Expand Down
8 changes: 4 additions & 4 deletions ORADAD.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.156
# Visual Studio Version 17
VisualStudioVersion = 17.9.34728.123
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ORADAD", "ORADAD.vcxproj", "{81A611C5-6450-4A60-B6FD-8B4031B44E6E}"
EndProject
Expand All @@ -13,8 +13,8 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Debug|x64.ActiveCfg = Debug|x64
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Debug|x64.Build.0 = Debug|x64
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Debug|x64.ActiveCfg = Release|x64
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Debug|x64.Build.0 = Release|x64
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Debug|x86.ActiveCfg = Debug|Win32
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Debug|x86.Build.0 = Debug|Win32
{81A611C5-6450-4A60-B6FD-8B4031B44E6E}.Release|x64.ActiveCfg = Release|x64
Expand Down

0 comments on commit 0123663

Please sign in to comment.