Skip to content

Commit

Permalink
[TEMP] Run only Build_Release.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Sep 19, 2023
1 parent e765142 commit 94dccd8
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,7 @@ variables:
value: ghcr.io/ihnorton/tiledb-manylinux2014_x86_64:2023-04-02

stages:
- stage: CI
condition: and(not(startsWith(variables['Build.SourceBranch'], 'refs/tags')), not(startsWith(variables['Build.SourceBranchName'], 'build-')))
variables:
BACKWARDS_COMPATIBILITY_ARRAYS: OFF
jobs:
- job: linux_manylinux
pool: { vmImage: $(imageName) }
container: ${{ variables.MANYLINUX_IMAGE }}
variables:
imageName: 'ubuntu-20.04'
TILEDB_SERIALIZATION: ON
CXX: g++
CC: gcc
CXXFLAGS: "-lrt"
CFLAGS: "-lrt"
USE_MANYLINUX: ON
steps:
- template: scripts/azure-linux_mac.yml

- stage: Build_Release
condition: or(or(or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), eq(variables['Build.SourceBranchName'], 'dev')), startsWith(variables['Build.SourceBranchName'], 'release-')), startsWith(variables['Build.SourceBranchName'], 'build-'))
variables:
TILEDB_S3: ON
TILEDB_AZURE: ON
Expand Down Expand Up @@ -118,34 +98,3 @@ stages:
vmImage: $(imageName)
steps:
- template: scripts/azure-windows-release.yml

# NOTE: this section cannot be conditional because `Build.Repository.Name` is an agent-scoped variable.
- stage: Github_Release
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
pool:
vmImage: 'ubuntu-latest'
jobs:
- job:
steps:
# First download artifacts
- task: DownloadBuildArtifacts@0
inputs:
downloadType: 'specific'
- script: |
echo $sourceVersion
commitHash=${sourceVersion:0:7}
echo $commitHash
echo "##vso[task.setvariable variable=commitHash]$commitHash" ## Set variable for using in other tasks.
env: { sourceVersion: $(Build.SourceVersion) }
displayName: Git Hash 7-digit
- task: GithubRelease@0
condition: succeeded() # only run this job if the build step succeeded
displayName: 'Add artifacts to GitHub Release'
inputs:
gitHubConnection: TileDB-Inc-Release
repositoryName: $(Build.Repository.Name)
addChangeLog: false
action: edit
tag: $(Build.SourceBranchName)
assets: |
$(Build.ArtifactStagingDirectory)/built-libs/*

0 comments on commit 94dccd8

Please sign in to comment.