-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
azure-pipelines.yml
30 lines (25 loc) · 1011 Bytes
/
azure-pipelines.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
trigger: none
# Disable Windows CI builds until somebody is actually working on fixing them
# - master
# - devel
jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
steps:
- checkout: self
submodules: true
- script: |
git config --global user.email "[email protected]"
git config --global user.name "Azure Pipeline"
displayName: Set git user name and email
- script: cmake -G "Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory)" -S $(Build.SourcesDirectory) -B $(Build.BinariesDirectory)
displayName: Configure solution with CMake script
- script: cmake --build $(Build.BinariesDirectory) --config Release
displayName: Build solution
- script: cmake --build $(Build.BinariesDirectory) --config Release --target Install
displayName: Install solution
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: sile