Skip to content

Commit f8b05db

Browse files
committed
build: turn off macos building
1 parent ec1a1e9 commit f8b05db

File tree

3 files changed

+30
-27
lines changed

3 files changed

+30
-27
lines changed

.github/workflows/build.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,35 @@ jobs:
5353
path: ${{ steps.archive.outputs.GUPPYPATH }}
5454
retention-days: 1
5555

56-
build_macos:
57-
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]')
58-
needs: build_cli
59-
runs-on: macos-latest
60-
steps:
61-
- uses: actions/checkout@v4
62-
with:
63-
fetch-depth: 0
56+
# build_macos:
57+
# if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]')
58+
# needs: build_cli
59+
# runs-on: macos-latest
60+
# steps:
61+
# - uses: actions/checkout@v4
62+
# with:
63+
# fetch-depth: 0
6464

65-
- uses: actions/download-artifact@v4
66-
with:
67-
name: guppy
68-
path: ./cli/dist/guppy
65+
# - uses: actions/download-artifact@v4
66+
# with:
67+
# name: guppy
68+
# path: ./cli/dist/guppy
6969

70-
- name: Sign guppy binary
71-
run: codesign -s - ./cli/dist/guppy
70+
# - name: Sign guppy binary
71+
# run: codesign -s - ./cli/dist/guppy
7272

73-
- name: Build macOS app
74-
env:
75-
VERSION: ${{ needs.build_cli.outputs.VERSION }}
76-
BUILD: ${{ needs.build_cli.outputs.BUILD }}
77-
run: make build-macos
73+
# - name: Build macOS app
74+
# env:
75+
# VERSION: ${{ needs.build_cli.outputs.VERSION }}
76+
# BUILD: ${{ needs.build_cli.outputs.BUILD }}
77+
# run: make build-macos
7878

79-
- name: Package macOS app
80-
run: ditto -c -k --keepParent ./macos/build/guppy.app ./guppy-macos-${{ env.VERSION }}.zip
79+
# - name: Package macOS app
80+
# run: ditto -c -k --keepParent ./macos/build/guppy.app ./guppy-macos-${{ env.VERSION }}.zip
8181

82-
- name: Upload macOS app
83-
uses: actions/upload-artifact@v4
84-
with:
85-
name: guppy-macos
86-
path: ./guppy-macos-${{ env.VERSION }}.zip
87-
retention-days: 1
82+
# - name: Upload macOS app
83+
# uses: actions/upload-artifact@v4
84+
# with:
85+
# name: guppy-macos
86+
# path: ./guppy-macos-${{ env.VERSION }}.zip
87+
# retention-days: 1

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ clean-macos:
4444
build-macos: clean-macos
4545
xcodebuild -project macos/guppy.xcodeproj \
4646
-scheme guppy build \
47+
-configuration Release \
4748
CONFIGURATION_BUILD_DIR="$(PWD)/macos/build" \
4849
$(if $(VERSION),MARKETING_VERSION="$(VERSION)") \
4950
$(if $(BUILD),CURRENT_PROJECT_VERSION="$(BUILD)")

macos/guppy.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@
444444
ENABLE_USER_SCRIPT_SANDBOXING = NO;
445445
GENERATE_INFOPLIST_FILE = YES;
446446
INFOPLIST_FILE = guppy/Info.plist;
447+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
447448
INFOPLIST_KEY_NSHumanReadableCopyright = "";
448449
LD_RUNPATH_SEARCH_PATHS = (
449450
"$(inherited)",
@@ -475,6 +476,7 @@
475476
ENABLE_USER_SCRIPT_SANDBOXING = NO;
476477
GENERATE_INFOPLIST_FILE = YES;
477478
INFOPLIST_FILE = guppy/Info.plist;
479+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
478480
INFOPLIST_KEY_NSHumanReadableCopyright = "";
479481
LD_RUNPATH_SEARCH_PATHS = (
480482
"$(inherited)",

0 commit comments

Comments
 (0)