-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
45 lines (44 loc) · 1.32 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
jobs:
- job: linux
pool: {vmImage: 'Ubuntu-20.04'}
steps:
- checkout: self
submodules: recursive
- bash: |
./run.sh
displayName: Compile on manylinux1
workingDirectory: 'support/manylinux'
- bash: |
for file in amplgsl-amplgsl*; do mv "$file" "${file#amplgsl-}"; done;
workingDirectory: 'build'
displayName: "Rename artifact"
- task: CopyFiles@2
inputs:
sourceFolder: 'build'
contents: 'amplgsl.*.tar.gz'
targetFolder: '$(Build.ArtifactStagingDirectory)'
displayName: "Copying amplgsl artifact to staging directory"
- publish: '$(Build.ArtifactStagingDirectory)'
artifact: amplgsl.linux64
displayName: "Publishing artifacts"
- template: support/azure/template-build.yml
parameters:
name: windows32
vmImage: 'windows-2019'
cmakeDefs: '-A Win32'
archiveExtension: 'zip'
cpackParameters: '-G ZIP'
- template: support/azure/template-build.yml
parameters:
name: windows64
vmImage: 'windows-2019'
cmakeDefs: '-A x64'
archiveExtension: 'zip'
cpackParameters: '-G ZIP'
- template: support/azure/template-build.yml
parameters:
name: macOS
vmImage: 'macOS-10.15'
cmakeDefs: '-DARCH=64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9'
archiveExtension: 'tar.gz'
cpackParameters: '-G TGZ'