mirror of https://github.com/v2ray/v2ray-core
only keep release
parent
108b9b3c7a
commit
6f1ac51e08
|
@ -1,22 +0,0 @@
|
||||||
jobs:
|
|
||||||
- job: ${{ parameters.name }}
|
|
||||||
timeoutInMinutes: 30
|
|
||||||
|
|
||||||
pool:
|
|
||||||
vmImage: ${{ parameters.vmImage }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- checkout: self
|
|
||||||
- task: GoTool@0
|
|
||||||
inputs:
|
|
||||||
version: '1.14'
|
|
||||||
- script: |
|
|
||||||
go test -p 1 -v -timeout 30m ./...
|
|
||||||
workingDirectory: '$(Build.SourcesDirectory)'
|
|
||||||
displayName: 'Test'
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
go build ./common/buf
|
|
||||||
condition: always()
|
|
||||||
workingDirectory: '$(Build.SourcesDirectory)'
|
|
||||||
displayName: 'Test Buf error'
|
|
|
@ -6,47 +6,7 @@ trigger:
|
||||||
- dev*
|
- dev*
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
|
||||||
pr:
|
|
||||||
- master
|
|
||||||
- dev*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: azure-pipelines.template.yml
|
|
||||||
parameters:
|
|
||||||
name: linux
|
|
||||||
vmImage: 'ubuntu-latest'
|
|
||||||
|
|
||||||
- template: azure-pipelines.template.yml
|
|
||||||
parameters:
|
|
||||||
name: windows
|
|
||||||
vmImage: 'windows-latest'
|
|
||||||
|
|
||||||
- template: azure-pipelines.template.yml
|
|
||||||
parameters:
|
|
||||||
name: macos
|
|
||||||
vmImage: 'macOS-latest'
|
|
||||||
|
|
||||||
- job: linux_coverage
|
|
||||||
dependsOn: linux
|
|
||||||
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|
|
||||||
timeoutInMinutes: 30
|
|
||||||
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-latest'
|
|
||||||
|
|
||||||
#variables:
|
|
||||||
# CODECOV_TOKEN: '$(coverage.token)'
|
|
||||||
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- checkout: self
|
|
||||||
- task: GoTool@0
|
|
||||||
inputs:
|
|
||||||
version: '1.14.6'
|
|
||||||
- script: |
|
|
||||||
bash ./testing/coverage/coverall
|
|
||||||
workingDirectory: '$(Build.SourcesDirectory)'
|
|
||||||
displayName: 'Coverage'
|
|
||||||
|
|
||||||
- job: make_release
|
- job: make_release
|
||||||
dependsOn: linux
|
dependsOn: linux
|
||||||
|
|
Loading…
Reference in New Issue