Skip to content

Commit

Permalink
#1 fix: remove github actions for macOS arm64, universal
Browse files Browse the repository at this point in the history
  • Loading branch information
HealGaren committed Jul 15, 2021
1 parent 839b557 commit 66ed542
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
- arch: x86_64
target: x86_64-apple-darwin
macos-version: "10.15"
- arch: arm64
target: aarch64-apple-darwin
macos-version: "10.15"
# - arch: arm64
# target: aarch64-apple-darwin
# macos-version: "11.0"

name: macOS ${{ matrix.arch }}
runs-on: macos-${{ matrix.macos-version }}
Expand Down Expand Up @@ -83,23 +83,23 @@ jobs:
name: ${{ github.sha }}
path: sentry-cli-Darwin-${{ matrix.arch }}

macos_universal:
needs: macos
name: macOS universal
runs-on: macos-latest

steps:
- uses: actions/download-artifact@v2
with:
name: ${{ github.sha }}

- name: Link universal binary
run: lipo -create -output sentry-cli-Darwin-universal sentry-cli-Darwin-x86_64 sentry-cli-Darwin-arm64

- uses: actions/upload-artifact@v2
with:
name: ${{ github.sha }}
path: sentry-cli-Darwin-universal
# macos_universal:
# needs: macos
# name: macOS universal
# runs-on: macos-latest
#
# steps:
# - uses: actions/download-artifact@v2
# with:
# name: ${{ github.sha }}
#
# - name: Link universal binary
# run: lipo -create -output sentry-cli-Darwin-universal sentry-cli-Darwin-x86_64 sentry-cli-Darwin-arm64
#
# - uses: actions/upload-artifact@v2
# with:
# name: ${{ github.sha }}
# path: sentry-cli-Darwin-universal

windows:
strategy:
Expand Down

0 comments on commit 66ed542

Please sign in to comment.