Disabled MacOS ARM64

Runner is offline for maintenance.

Contributes to CURA-10988
This commit is contained in:
Jelle Spijker 2023-09-11 19:31:40 +02:00
parent 86aaaf4677
commit bbf480d4a3
No known key found for this signature in database
GPG Key ID: 034D1C0527888B65

View File

@ -74,22 +74,23 @@ jobs:
operating_system: macos-11.0 operating_system: macos-11.0
secrets: inherit secrets: inherit
macos-arm-installer: # macos-arm-installer:
uses: ./.github/workflows/macos.yml # uses: ./.github/workflows/macos.yml
with: # with:
cura_conan_version: ${{ github.event.inputs.CURA_CONAN_VERSION }} # cura_conan_version: ${{ github.event.inputs.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: ${{ always() && (! cancelled()) && contains(needs.*.result, 'success') && (! contains(needs.*.result, 'failure')) && (inputs.nightly || github.event_name == 'schedule') }} if: ${{ always() && (! cancelled()) && contains(needs.*.result, 'success') && (! contains(needs.*.result, 'failure')) && (inputs.nightly || github.event_name == 'schedule') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ windows-installer, linux-installer, macos-installer, macos-arm-installer ] needs: [ windows-installer, linux-installer, macos-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
@ -202,29 +203,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 acOS (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()