mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:56:03 +08:00
Reenabled ARM64 MacOS
CURA-10982
This commit is contained in:
parent
6002b0aa9d
commit
c5873754d7
69
.github/workflows/installers.yml
vendored
69
.github/workflows/installers.yml
vendored
@ -98,23 +98,22 @@ jobs:
|
|||||||
operating_system: macos-11.0
|
operating_system: macos-11.0
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
# macos-arm-installer:
|
macos-arm-installer:
|
||||||
# needs: [ default-values ]
|
needs: [ default-values ]
|
||||||
# with:
|
with:
|
||||||
# cura_conan_version: ${{ needs.default-values.outputs.cura_conan_version }}
|
cura_conan_version: ${{ needs.default-values.outputs.cura_conan_version }}
|
||||||
# conan_args: ${{ github.event.inputs.conan_args }}
|
conan_args: ${{ github.event.inputs.conan_args }}
|
||||||
# enterprise: ${{ github.event.inputs.enterprise == 'true' }}
|
enterprise: ${{ github.event.inputs.enterprise == 'true' }}
|
||||||
# staging: ${{ github.event.inputs.staging == 'true' }}
|
staging: ${{ github.event.inputs.staging == 'true' }}
|
||||||
# architecture: ARM64
|
architecture: ARM64
|
||||||
# operating_system: self-hosted
|
operating_system: self-hosted
|
||||||
# secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
# Run and update nightly release when the nightly input is set to true or if the schedule is triggered
|
# Run and update nightly release when the nightly input is set to true or if the schedule is triggered
|
||||||
update-nightly-release:
|
update-nightly-release:
|
||||||
if: ${{ inputs.nightly || github.event_name == 'schedule' }}
|
if: ${{ inputs.nightly || github.event_name == 'schedule' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ windows-installer, linux-installer, macos-installer ]
|
needs: [ windows-installer, linux-installer, macos-installer, macos-arm-installer ]
|
||||||
# needs: [ windows-installer, linux-installer, macos-installer, macos-arm-installer ]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -227,29 +226,29 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: Download MacOS (ARM-64) dmg installer jobs artifacts
|
- name: Download MacOS (ARM-64) dmg installer jobs artifacts
|
||||||
# uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
# with:
|
with:
|
||||||
# name: ${{ steps.filename.outputs.MAC_ARM_DMG }}-dmg
|
name: ${{ steps.filename.outputs.MAC_ARM_DMG }}-dmg
|
||||||
# path: installers
|
path: installers
|
||||||
#
|
|
||||||
# - name: Download MacOS (ARM-64) pkg installer jobs artifacts
|
- name: Download MacOS (ARM-64) pkg installer jobs artifacts
|
||||||
# uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
# with:
|
with:
|
||||||
# name: ${{ steps.filename.outputs.MAC_ARM_PKG }}-pkg
|
name: ${{ steps.filename.outputs.MAC_ARM_PKG }}-pkg
|
||||||
# path: installers
|
path: installers
|
||||||
#
|
|
||||||
# - name: Rename MacOS (ARM-64) installers to nightlies
|
- name: Rename MacOS (ARM-64) installers to nightlies
|
||||||
# run: |
|
run: |
|
||||||
# mv installers/${{ steps.filename.outputs.MAC_ARM_DMG }}.dmg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.dmg
|
mv installers/${{ steps.filename.outputs.MAC_ARM_DMG }}.dmg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.dmg
|
||||||
# mv installers/${{ steps.filename.outputs.MAC_ARM_PKG }}.pkg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.pkg
|
mv installers/${{ steps.filename.outputs.MAC_ARM_PKG }}.pkg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.pkg
|
||||||
#
|
|
||||||
# - name: Update nightly release for MacOS (ARM-64)
|
- name: Update nightly release for MacOS (ARM-64)
|
||||||
# run: |
|
run: |
|
||||||
# gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.dmg --clobber
|
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.dmg --clobber
|
||||||
# gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.pkg --clobber
|
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.pkg --clobber
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Update nightly release description (with date)
|
- name: Update nightly release description (with date)
|
||||||
if: always()
|
if: always()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user