-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comfy now builds and installs, Fixed issues with Mac Signing
Comfy now installs and then packaged into electron fixed issues with code signing, there were too many files and the runner was choking on it. There is a PR request to fix this issue on osx-sign but has not been merged. For now use that function as a shim and place it inside of node_modules.
- Loading branch information
1 parent
bac144b
commit 9867264
Showing
16 changed files
with
14,764 additions
and
7,465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Build Comfycli for Macos | ||
description: Download, install, and set up Comfy | ||
runs: | ||
using: composite | ||
steps: | ||
name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
- name: Make Standalone | ||
shell: sh | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install comfy-cli | ||
cd assets | ||
comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --m-series --skip-manager | ||
comfy --workspace ./ComfyUI standalone --platform macos | ||
comfy standalone --rehydrate | ||
ls | ||
# - name: Sign Wheels | ||
# uses: ./.github/actions/build/macos/signwheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Sign Wheels | ||
description: Unpack Sign Wheels and then RePack | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Unpack | ||
shell: sh | ||
run: | | ||
cd ./assets/python/wheels | ||
find . -name '*.whl' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \; | ||
find . -name "*.whl" -type f -delete | ||
- name: Gather and Sign | ||
shell: sh | ||
run: | | ||
cd ./assets/python/wheels | ||
find . -name "*so" -o -name "*.dylib" -print0 | while read -d $'\0' file; do codesign --sign 6698D856280DC1662A8E01E5B63428CB6D6651BB --force --timestamp --options runtime --entitlements ../../entitlements.mac.plist "$file"; done | ||
- name: Repack | ||
shell: sh | ||
run: | | ||
for i in */; do zip -r "${i%/}.whl" "$i"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.