-
Notifications
You must be signed in to change notification settings - Fork 20
/
azure-pipelines.yml
30 lines (29 loc) · 1.02 KB
/
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:
- master
- main
- dev/*
jobs:
- job: 'Windows'
timeoutInMinutes: 300 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 10 # how much time to give 'run always even if cancelled tasks' before stopping them
pool:
vmImage: 'windows-latest'
variables:
VCPKG_DEFAULT_TRIPLET: "x64-windows"
steps:
- task: PowerShell@2
inputs:
filePath: '$(System.DefaultWorkingDirectory)/build.ps1'
arguments: '-DoNotUpdateTOOL -DisableInteractive -DisableLaTeX -ForceTriangle32bit'
displayName: 'Build FEMM'
- powershell: |
makensis.exe $(System.DefaultWorkingDirectory)/script.nsi
displayName: Build Installer
- task: CopyFiles@2
inputs:
contents: '$(System.DefaultWorkingDirectory)/FEMM_installer.exe'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)/FEMM_installer.exe
artifactName: FEMM_installer