mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Azure Pipelines: build on MSVC 2022
This commit is contained in:
parent
8c7e53f1b6
commit
8cb92dc44e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user