Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed May 25, 2024
1 parent 59f455a commit 08af6a2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_mac-arm.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build latest (macOS 64 bit)
name: Build latest (macOS ARM64)
on: [push]

concurrency:
group: ${{ github.ref }}-mac64
group: ${{ github.ref }}-mac-ARM64
cancel-in-progress: true

jobs:
Expand All @@ -21,8 +21,9 @@ jobs:
LATEST_FLAG=-DCC_COMMIT_SHA=\"$(git rev-parse --short "$GITHUB_SHA")\"
cd src
clang *.c interop_cocoa.m ${{ env.COMMON_FLAGS }} ${{ env.MAC_FLAGS }} $LATEST_FLAG -o cc-mac-arm -framework Cocoa -framework OpenGL -framework IOKit -lobjc
clang *.c interop_cocoa.m ${{ env.COMMON_FLAGS }} ${{ env.MAC_FLAGS }} $LATEST_FLAG -o cc-mac-arm64 -framework Cocoa -framework OpenGL -framework IOKit -lobjc
# https://wiki.freepascal.org/Code_Signing_for_macOS#Ad_hoc_signing
codesign -dv -r- cc-mac-arm64
- uses: ./.github/actions/notify_failure
if: ${{ always() && steps.compile.outcome == 'failure' }}
Expand All @@ -34,5 +35,5 @@ jobs:
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'src/cc-mac-arm'
SOURCE_FILE: 'src/cc-mac-arm64'
DEST_NAME: 'ClassiCube-mac-ARM64'

0 comments on commit 08af6a2

Please sign in to comment.