123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- name: Cura All Installers
- run-name: ${{ inputs.cura_conan_version }} for exe ${{ inputs.build_windows_exe }}, msi ${{ inputs.build_windows_msi }}, dmg ${{ inputs.build_macos }}, pkg ${{ inputs.build_macos_installer }}, appimage ${{ inputs.build_linux }} - enterprise ${{ inputs.enterprise }}
- on:
- workflow_dispatch:
- inputs:
- cura_conan_version:
- description: 'Cura Conan Version'
- default: 'cura/latest@ultimaker/testing'
- required: true
- type: string
- conan_args:
- description: 'Conan args: eq.: --require-override'
- default: ''
- required: false
- type: string
- conan_config:
- description: 'Conan config branch to use'
- default: ''
- required: false
- type: string
- enterprise:
- description: 'Build Cura as an Enterprise edition'
- default: false
- required: true
- type: boolean
- staging:
- description: 'Use staging API'
- default: false
- required: true
- type: boolean
- installer:
- description: 'Create the installer'
- default: true
- required: true
- type: boolean
- build_windows_exe:
- description: 'Build for Windows exe'
- default: false
- required: true
- type: boolean
- build_windows_msi:
- description: 'Build for msi+pkg'
- default: true
- required: true
- type: boolean
- build_linux:
- description: 'Build for Linux'
- default: true
- required: true
- type: boolean
- build_macos:
- description: 'Build dmg for MacOS'
- default: true
- required: true
- type: boolean
- # Run the nightly at 3:25 UTC on working days
- schedule:
- - cron: '25 3 * * 1-5'
- jobs:
- windows-installer-create-exe:
- if: ${{ inputs.build_windows_exe }}
- uses: ./.github/workflows/cura-installer.yml
- with:
- platform: 'windows-2022'
- os_name: 'win64'
- cura_conan_version: ${{ inputs.cura_conan_version }}
- conan_args: ${{ inputs.conan_args }}
- conan_config: ${{ inputs.conan_config }}
- enterprise: ${{ inputs.enterprise }}
- staging: ${{ inputs.staging }}
- installer: ${{ inputs.installer }}
- msi_installer: false
- secrets: inherit
- windows-installer-create-msi:
- if: ${{ inputs.build_windows_msi }}
- uses: ./.github/workflows/cura-installer.yml
- with:
- platform: 'windows-2022'
- os_name: 'win64'
- cura_conan_version: ${{ inputs.cura_conan_version }}
- conan_args: ${{ inputs.conan_args }}
- conan_config: ${{ inputs.conan_config }}
- enterprise: ${{ inputs.enterprise }}
- staging: ${{ inputs.staging }}
- installer: ${{ inputs.installer }}
- msi_installer: true
- secrets: inherit
- linux-installer-create:
- if: ${{ inputs.build_linux }}
- uses: ./.github/workflows/cura-installer.yml
- with:
- platform: 'ubuntu-20.04'
- os_name: 'linux'
- cura_conan_version: ${{ inputs.cura_conan_version }}
- conan_args: ${{ inputs.conan_args }}
- conan_config: ${{ inputs.conan_config }}
- enterprise: ${{ inputs.enterprise }}
- staging: ${{ inputs.staging }}
- installer: ${{ inputs.installer }}
- msi_installer: false
- secrets: inherit
- linux-modern-installer-create:
- if: ${{ inputs.build_linux }}
- uses: ./.github/workflows/cura-installer.yml
- with:
- platform: 'ubuntu-22.04'
- os_name: 'linux-modern'
- cura_conan_version: ${{ inputs.cura_conan_version }}
- conan_args: ${{ inputs.conan_args }}
- conan_config: ${{ inputs.conan_config }}
- enterprise: ${{ inputs.enterprise }}
- staging: ${{ inputs.staging }}
- installer: ${{ inputs.installer }}
- msi_installer: false
- secrets: inherit
- macos-dmg-create:
- if: ${{ inputs.build_macos }}
- uses: ./.github/workflows/cura-installer.yml
- with:
- platform: 'macos-11'
- os_name: 'mac'
- cura_conan_version: ${{ inputs.cura_conan_version }}
- conan_args: ${{ inputs.conan_args }}
- conan_config: ${{ inputs.conan_config }}
- enterprise: ${{ inputs.enterprise }}
- staging: ${{ inputs.staging }}
- installer: ${{ inputs.installer }}
- msi_installer: false
- secrets: inherit
- macos-installer-create:
- if: ${{ inputs.build_macos }}
- uses: ./.github/workflows/cura-installer.yml
- with:
- platform: 'macos-11'
- os_name: 'mac'
- cura_conan_version: ${{ inputs.cura_conan_version }}
- conan_args: ${{ inputs.conan_args }}
- conan_config: ${{ inputs.conan_config }}
- enterprise: ${{ inputs.enterprise }}
- staging: ${{ inputs.staging }}
- installer: ${{ inputs.installer }}
- msi_installer: true
- secrets: inherit
|