Skip to content

Commit

Permalink
ci: modify ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jecket1 committed May 24, 2024
1 parent d6a872e commit ac6016b
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
trigger:
branches:
include:
- master
pr:
branches:
include:
- release/1.8.0
jobs:
# All tasks on macOS
- job: build_all_darwin
displayName: Build all tasks (macOS)
timeoutInMinutes: 120
pool:
vmImage: macos-latest
variables:
CI_TEST: true
steps:
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
version: 6.0.x
- script: bash scripts/install_protobuf.sh
- script: bash scripts/download_binary.sh
- script: bash build.sh --target=Test-with-Codecov
displayName: 'Build and Test'
- task: PublishTestResults@2
condition: always()
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
- task: reportgenerator@5
displayName: ReportGenerator
inputs:
reports: '$(Build.SourcesDirectory)/test/*/TestResults/*/coverage.cobertura.xml'
targetdir: '$(Build.SourcesDirectory)/CodeCoverage'
reporttypes: 'Cobertura'
assemblyfilters: '-xunit*'
- script: bash build.sh --target=Upload-Coverage-Azure
displayName: 'Upload data to Codecov'
#trigger:
# branches:
# include:
# - master
#pr:
# branches:
# include:
# - release/1.8.0
#jobs:
# # All tasks on macOS
# - job: build_all_darwin
# displayName: Build all tasks (macOS)
# timeoutInMinutes: 120
# pool:
# vmImage: macos-latest
# variables:
# CI_TEST: true
# steps:
# - task: UseDotNet@2
# displayName: 'Install .NET Core SDK'
# inputs:
# version: 6.0.x
# - script: bash scripts/install_protobuf.sh
# - script: bash scripts/download_binary.sh
# - script: bash build.sh --target=Test-with-Codecov
# displayName: 'Build and Test'
# - task: PublishTestResults@2
# condition: always()
# inputs:
# testRunner: VSTest
# testResultsFiles: '**/*.trx'
# - task: reportgenerator@5
# displayName: ReportGenerator
# inputs:
# reports: '$(Build.SourcesDirectory)/test/*/TestResults/*/coverage.cobertura.xml'
# targetdir: '$(Build.SourcesDirectory)/CodeCoverage'
# reporttypes: 'Cobertura'
# assemblyfilters: '-xunit*'
# - script: bash build.sh --target=Upload-Coverage-Azure
# displayName: 'Upload data to Codecov'
# - job: build_all_linux
# displayName: Build all tasks (Linux)
# timeoutInMinutes: 120
Expand Down

0 comments on commit ac6016b

Please sign in to comment.