Skip to content

Commit

Permalink
add osx target
Browse files Browse the repository at this point in the history
  • Loading branch information
phnzb committed Nov 27, 2024
1 parent b1a118e commit 6ff7c0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
retention-days: 5

build-universal:
if: false
runs-on: [self-hosted, macos, arm64]

steps:
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
retention-days: 5

sign-universal:
if: false
runs-on: [self-hosted, macos, arm64]
needs: [build-universal]

Expand Down Expand Up @@ -113,6 +115,7 @@ jobs:
retention-days: 5

combine-osx-artifacts:
if: false
runs-on: ubuntu-latest
needs: [build-x64, sign-universal]
permissions:
Expand Down
2 changes: 2 additions & 0 deletions osx/build-nzbget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ for ARCH in $ARCHS; do
cd $BUILD_PATH
if [ "$ARCH" == "x64" ]; then
CMAKE_ARCH="x86_64"
export MACOSX_DEPLOYMENT_TARGET="10.14"
else
CMAKE_ARCH=$ARCH
unset MACOSX_DEPLOYMENT_TARGET
fi

cmake ../.. \
Expand Down

0 comments on commit 6ff7c0f

Please sign in to comment.