forked from libplctag/libplctag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipeline-windows.yml
38 lines (31 loc) · 994 Bytes
/
azure-pipeline-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
trigger:
- master
pool:
vmImage: 'windows-latest'
steps:
- task: CMake@1
inputs:
workingDirectory: 'build'
cmakeArgs: '..'
- task: CMake@1
inputs:
workingDirectory: 'build'
cmakeArgs: '--build .'
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(System.DefaultWorkingDirectory)/build/bin_dist'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/libplctag_windows_x64_$(Build.BuildId).zip'
replaceExistingArchive: false
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.SourcesDirectory)/src/lib/libplctag.h'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/libplctag_windows_x64_$(Build.BuildId).zip'
replaceExistingArchive: false
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)/libplctag_windows_x64_$(Build.BuildId).zip'
artifactName: libplctag_windows_x64_$(Build.BuildId)