azure-pipelines.yml 554 B

123456789101112131415161718192021222324
  1. trigger:
  2. branches:
  3. include:
  4. - 'main'
  5. tags:
  6. include:
  7. - 'v*'
  8. jobs:
  9. - job: CI
  10. container: envoyproxy/envoy-build-ubuntu@sha256:f0b2453c3587e3297f5caf5e97fbf57c97592c96136209ec13fe2795aae2c896
  11. steps:
  12. - task: CacheBeta@1
  13. inputs:
  14. key: './WORKSPACE | ./.bazel* | **/*.bzl'
  15. path: $(Agent.TempDirectory)/tmp
  16. - bash: ci/check.sh
  17. env:
  18. TEST_TMPDIR: $(Agent.TempDirectory)/tmp
  19. - bash: tools/generate_go_protobuf.py && test -z "$(git status --porcelain)"
  20. env:
  21. TEST_TMPDIR: $(Agent.TempDirectory)/tmp