macos.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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: 'cura/latest@ultimaker/testing'
  9. required: true
  10. type: string
  11. conan_args:
  12. description: 'Conan args: eq.: --require-override'
  13. default: ''
  14. required: false
  15. type: string
  16. enterprise:
  17. description: 'Build Cura as an Enterprise edition'
  18. default: false
  19. required: true
  20. type: boolean
  21. staging:
  22. description: 'Use staging API'
  23. default: false
  24. required: true
  25. type: boolean
  26. architecture:
  27. description: 'Architecture'
  28. required: true
  29. default: 'ARM64'
  30. type: choice
  31. options:
  32. - X64
  33. - ARM64
  34. operating_system:
  35. description: 'OS'
  36. required: true
  37. default: 'self-hosted-ARM64'
  38. type: choice
  39. options:
  40. - self-hosted-X64
  41. - self-hosted-ARM64
  42. - macos-12
  43. jobs:
  44. macos-installer:
  45. uses: ultimaker/cura-workflows/.github/workflows/cura-installer-macos.yml@main
  46. with:
  47. cura_conan_version: ${{ inputs.cura_conan_version }}
  48. conan_args: ${{ inputs.conan_args }}
  49. enterprise: ${{ inputs.enterprise }}
  50. staging: ${{ inputs.staging }}
  51. architecture: ${{ inputs.architecture }}
  52. operating_system: ${{ inputs.operating_system }}
  53. secrets: inherit