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: