mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +08:00
Reinstate OS specific installer workflows
For those that wants to build a OS specific installer Contributes to CURA-10831
This commit is contained in:
parent
040f85c956
commit
9ad993f8ca
58
.github/workflows/linux.yml
vendored
Normal file
58
.github/workflows/linux.yml
vendored
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
name: Linux installers
|
||||||
|
run-name: ${{ inputs.cura_conan_version }} by @${{ github.actor }}
|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
architecture:
|
||||||
|
description: 'Architecture'
|
||||||
|
required: true
|
||||||
|
default: 'X64'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- X64
|
||||||
|
operating_system:
|
||||||
|
description: 'OS'
|
||||||
|
required: true
|
||||||
|
default: 'ubuntu-22.04'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- ubuntu-22.04
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONAN_ARGS: ${{ inputs.conan_args || '' }}
|
||||||
|
ENTERPRISE: ${{ inputs.enterprise || false }}
|
||||||
|
STAGING: ${{ inputs.staging || false }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# FIXME: point to `main` once merged
|
||||||
|
windows-installer:
|
||||||
|
uses: ultimaker/cura-workflows/.github/workflows/cura-installer-linux.yml@CURA-10831
|
||||||
|
with:
|
||||||
|
cura_conan_version: ${{ inputs.cura_conan_version }}
|
||||||
|
conan_args: ${{ inputs.conan_args }}
|
||||||
|
enterprise: ${{ inputs.enterprise == 'true' }}
|
||||||
|
staging: ${{ inputs.staging == 'true' }}
|
||||||
|
architecture: ${{ inputs.architecture }}
|
||||||
|
operating_system: ${{ inputs.operating_system }}
|
||||||
|
secrets: inherit
|
62
.github/workflows/macos.yml
vendored
Normal file
62
.github/workflows/macos.yml
vendored
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
name: MacOS installers
|
||||||
|
run-name: ${{ inputs.cura_conan_version }} by @${{ github.actor }}
|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
architecture:
|
||||||
|
description: 'Architecture'
|
||||||
|
required: true
|
||||||
|
default: 'ARM64'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- X64
|
||||||
|
- ARM64
|
||||||
|
operating_system:
|
||||||
|
description: 'OS'
|
||||||
|
required: true
|
||||||
|
default: 'self-hosted-ARM64'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- self-hosted-X64
|
||||||
|
- self-hosted-ARM64
|
||||||
|
- macos-11
|
||||||
|
- macos-12
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONAN_ARGS: ${{ inputs.conan_args || '' }}
|
||||||
|
ENTERPRISE: ${{ inputs.enterprise || false }}
|
||||||
|
STAGING: ${{ inputs.staging || false }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# FIXME: point to `main` once merged
|
||||||
|
windows-installer:
|
||||||
|
uses: ultimaker/cura-workflows/.github/workflows/cura-installer-macos.yml@CURA-10831
|
||||||
|
with:
|
||||||
|
cura_conan_version: ${{ inputs.cura_conan_version }}
|
||||||
|
conan_args: ${{ inputs.conan_args }}
|
||||||
|
enterprise: ${{ inputs.enterprise == 'true' }}
|
||||||
|
staging: ${{ inputs.staging == 'true' }}
|
||||||
|
architecture: ${{ inputs.architecture }}
|
||||||
|
operating_system: ${{ inputs.operating_system }}
|
||||||
|
secrets: inherit
|
0
.github/workflows/requirements-runner.txt
vendored
Normal file
0
.github/workflows/requirements-runner.txt
vendored
Normal file
58
.github/workflows/windows.yml
vendored
Normal file
58
.github/workflows/windows.yml
vendored
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
name: Windows installers
|
||||||
|
run-name: ${{ inputs.cura_conan_version }} by @${{ github.actor }}
|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
architecture:
|
||||||
|
description: 'Architecture'
|
||||||
|
required: true
|
||||||
|
default: 'X64'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- X64
|
||||||
|
operating_system:
|
||||||
|
description: 'OS'
|
||||||
|
required: true
|
||||||
|
default: 'windows-2022'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- windows-2022
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONAN_ARGS: ${{ inputs.conan_args || '' }}
|
||||||
|
ENTERPRISE: ${{ inputs.enterprise || false }}
|
||||||
|
STAGING: ${{ inputs.staging || false }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# FIXME: point to `main` once merged
|
||||||
|
windows-installer:
|
||||||
|
uses: ultimaker/cura-workflows/.github/workflows/cura-installer-windows.yml@CURA-10831
|
||||||
|
with:
|
||||||
|
cura_conan_version: ${{ inputs.cura_conan_version }}
|
||||||
|
conan_args: ${{ inputs.conan_args }}
|
||||||
|
enterprise: ${{ inputs.enterprise == 'true' }}
|
||||||
|
staging: ${{ inputs.staging == 'true' }}
|
||||||
|
architecture: ${{ inputs.architecture }}
|
||||||
|
operating_system: ${{ inputs.operating_system }}
|
||||||
|
secrets: inherit
|
Loading…
x
Reference in New Issue
Block a user