macos.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. name: MacOS Installer
  2. run-name: ${{ inputs.cura_conan_version }} by @${{ github.actor }}
  3. on:
  4. workflow_dispatch:
  5. inputs:
  6. cura_conan_version:
  7. description: 'Cura Conan Version'
  8. default: ''
  9. type: string
  10. package_overrides:
  11. description: 'List of specific packages to be used (space-separated)'
  12. default: ''
  13. type: string
  14. conan_args:
  15. description: 'Conan args'
  16. default: ''
  17. required: false
  18. type: string
  19. enterprise:
  20. description: 'Build Cura as an Enterprise edition'
  21. default: false
  22. required: true
  23. type: boolean
  24. staging:
  25. description: 'Use staging API'
  26. default: false
  27. required: true
  28. type: boolean
  29. architecture:
  30. description: 'Architecture'
  31. required: true
  32. default: 'ARM64'
  33. type: choice
  34. options:
  35. - X64
  36. - ARM64
  37. operating_system:
  38. description: 'OS'
  39. required: true
  40. default: 'self-hosted-ARM64'
  41. type: choice
  42. options:
  43. - self-hosted-X64
  44. - self-hosted-ARM64
  45. - macos-12
  46. jobs:
  47. macos-installer:
  48. uses: ultimaker/cura-workflows/.github/workflows/cura-installer-macos.yml@main
  49. with:
  50. cura_conan_version: ${{ inputs.cura_conan_version }}
  51. package_overrides: ${{ inputs.package_overrides }}
  52. conan_args: ${{ inputs.conan_args }}
  53. enterprise: ${{ inputs.enterprise }}
  54. staging: ${{ inputs.staging }}
  55. architecture: ${{ inputs.architecture }}
  56. operating_system: ${{ inputs.operating_system }}
  57. secrets: inherit