build-wheels-aarch64-linux.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: Build Aarch64 Linux Wheels
  2. on:
  3. pull_request:
  4. push:
  5. branches:
  6. - nightly
  7. - main
  8. - release/*
  9. tags:
  10. # NOTE: Binary build pipelines should only get triggered on release candidate builds
  11. # Release candidate tags look like: v1.11.0-rc1
  12. - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
  13. workflow_dispatch:
  14. jobs:
  15. generate-matrix:
  16. uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
  17. with:
  18. package-type: wheel
  19. os: linux-aarch64
  20. test-infra-repository: pytorch/test-infra
  21. test-infra-ref: release/2.1
  22. with-cuda: disable
  23. build:
  24. needs: generate-matrix
  25. strategy:
  26. fail-fast: false
  27. matrix:
  28. include:
  29. - repository: pytorch/vision
  30. pre-script: packaging/pre_build_script.sh
  31. post-script: packaging/post_build_script.sh
  32. smoke-test-script: test/smoke_test.py
  33. package-name: torchvision
  34. name: ${{ matrix.repository }}
  35. uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.1
  36. with:
  37. repository: ${{ matrix.repository }}
  38. ref: ""
  39. test-infra-repository: pytorch/test-infra
  40. test-infra-ref: release/2.1
  41. build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
  42. pre-script: ${{ matrix.pre-script }}
  43. post-script: ${{ matrix.post-script }}
  44. package-name: ${{ matrix.package-name }}
  45. smoke-test-script: ${{ matrix.smoke-test-script }}
  46. trigger-event: ${{ github.event_name }}
  47. architecture: aarch64
  48. setup-miniconda: false
  49. secrets:
  50. AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
  51. AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}