mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
only keep release
This commit is contained in:
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*
|
||||
- refs/tags/*
|
||||
|
||||
pr:
|
||||
- master
|
||||
- dev*
|
||||
|
||||
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
|
||||
dependsOn: linux
|
||||
|
Loading…
Reference in New Issue
Block a user