Skip to content

Commit

Permalink
add build for centos to experiment with compatibility needs
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Oct 19, 2018
1 parent 2eb9c21 commit 1bcc91a
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ resources:
submodules: true

jobs:
- job: Linux
displayName: "Linux (AMD64)"
- job: Ubuntu
displayName: "Ubuntu Linux (AMD64)"
pool:
vmImage: ubuntu-16.04
variables:
Expand Down Expand Up @@ -41,6 +41,30 @@ jobs:
flattenFolders: true
- task: PublishBuildArtifacts@1

- job: CentOS
displayName: "CentOS Linux (AMD64)"
pool:
vmImage: ubuntu-16.04
variables:
TARGET_PLATFORM: ubuntu
GIT_LFS_CHECKSUM: 624396e8994578ac38c3e5987889be56dba453c378c0675d56cffbc5b8972aa5
steps:
- task: docker@0
displayName: "Build Git in container"
inputs:
action: "Run an image"
imageName: amd64/centos
volumes: |
$(Build.SourcesDirectory):/src
$(Build.SourcesDirectory)/build/git:/output
envVars: |
SOURCE=/src/git
DESTINATION=/output
workDir: /src
containerCommand: "sh /src/script/build.sh"
detached: false


- job: Linux_ARM64
displayName: "Linux (arm64)"
pool:
Expand Down

0 comments on commit 1bcc91a

Please sign in to comment.