postcommit_relwithdebinfo.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. name: Postcommit_relwithdebinfo
  2. on:
  3. push:
  4. branches:
  5. - 'main'
  6. - 'stable-*'
  7. - 'stream-nb-*'
  8. paths-ignore:
  9. - 'ydb/docs/**'
  10. - '.github/**'
  11. - '*'
  12. jobs:
  13. build_and_test:
  14. if: ${{vars.CHECKS_SWITCH != '' && fromJSON(vars.CHECKS_SWITCH).postcommit_relwithdebinfo == true}}
  15. runs-on: [ self-hosted, auto-provisioned, build-preset-relwithdebinfo ]
  16. name: Build and test relwithdebinfo
  17. steps:
  18. - name: Checkout
  19. uses: actions/checkout@v3
  20. with:
  21. fetch-depth: 2
  22. - name: Build and test
  23. uses: ./.github/actions/build_and_test_ya
  24. with:
  25. build_preset: relwithdebinfo
  26. build_target: "ydb/"
  27. increment: true
  28. run_tests: true
  29. test_size: "small,medium"
  30. test_type: "unittest,py3test,py2test,pytest"
  31. test_threads: 52
  32. put_build_results_to_cache: true
  33. secs: ${{ format('{{"TESTMO_TOKEN":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',
  34. secrets.TESTMO_TOKEN, secrets.AWS_KEY_ID, secrets.AWS_KEY_VALUE, secrets.REMOTE_CACHE_USERNAME, secrets.REMOTE_CACHE_PASSWORD ) }}
  35. vars: ${{ format('{{"AWS_BUCKET":"{0}","AWS_ENDPOINT":"{1}","REMOTE_CACHE_URL":"{2}","TESTMO_URL":"{3}","TESTMO_PROJECT_ID":"{4}"}}',
  36. vars.AWS_BUCKET, vars.AWS_ENDPOINT, vars.REMOTE_CACHE_URL_YA, vars.TESTMO_URL, vars.TESTMO_PROJECT_ID ) }}