1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00

Azure Pipelines: build on MSVC 2022

This commit is contained in:
Frank Denis 2021-11-11 12:47:58 +01:00
parent 8c7e53f1b6
commit 8cb92dc44e

View File

@ -30,6 +30,25 @@ jobs:
artifactName: libsodium-wasm32-wasi artifactName: libsodium-wasm32-wasi
- job: "windows" - 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: pool:
vmImage: "windows-2019" vmImage: "windows-2019"
steps: steps: