macos.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. # FIXME: Use main once merged
  45. macos-installer:
  46. uses: ultimaker/cura-workflows/.github/workflows/cura-installer-macos.yml@CURA-11622_conan_v2
  47. with:
  48. cura_conan_version: ${{ inputs.cura_conan_version }}
  49. conan_args: ${{ inputs.conan_args }}
  50. enterprise: ${{ inputs.enterprise }}
  51. staging: ${{ inputs.staging }}
  52. architecture: ${{ inputs.architecture }}
  53. operating_system: ${{ inputs.operating_system }}
  54. secrets: inherit