From 8cb92dc44eb18e14d3eb1746311fb311fa82d25a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 11 Nov 2021 12:47:58 +0100 Subject: [PATCH] Azure Pipelines: build on MSVC 2022 --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3ce8a1cf..5c7b2611 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,6 +30,25 @@ jobs: artifactName: libsodium-wasm32-wasi - job: "windows" + pool: + vmImage: "windows-2022" + steps: + - powershell: | + cd builds\msvc\build + & .\buildbase.bat ..\vs2022\libsodium.sln 17 + displayName: Compile it all + - powershell: | + mkdir bin\include\sodium + Copy-Item "src\libsodium\include\sodium\*.h" -Destination "bin\include\sodium" -Recurse + Copy-Item "src\libsodium\include\*.h" -Destination "bin\include\" + displayName: Copy header files + - task: PublishBuildArtifacts@1 + condition: not(canceled()) + inputs: + pathToPublish: bin + artifactName: libsodium + + - job: "windows_2019" pool: vmImage: "windows-2019" steps: