mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
debug forge build
This commit is contained in:
parent
8840c81068
commit
afa1a4a976
1 changed files with 24 additions and 0 deletions
24
.github/workflows/electron-build.yml
vendored
24
.github/workflows/electron-build.yml
vendored
|
|
@ -61,6 +61,30 @@ jobs:
|
|||
run: npm run make
|
||||
working-directory: apps/x/apps/main
|
||||
|
||||
- name: Diagnose built app
|
||||
run: |
|
||||
echo "=== Architecture Check ==="
|
||||
APP_PATH=$(find apps/x/apps/main/out -name "Rowboat.app" -type d | head -1)
|
||||
if [ -n "$APP_PATH" ]; then
|
||||
EXECUTABLE="$APP_PATH/Contents/MacOS/rowboat"
|
||||
if [ -f "$EXECUTABLE" ]; then
|
||||
echo "App executable found at: $EXECUTABLE"
|
||||
echo "Architecture:"
|
||||
lipo -info "$EXECUTABLE" || file "$EXECUTABLE"
|
||||
echo ""
|
||||
echo "=== Code Signing Check ==="
|
||||
codesign --verify --deep --strict --verbose=2 "$APP_PATH" || echo "App is not signed (this is OK if code signing secrets are not configured)"
|
||||
echo ""
|
||||
echo "=== Gatekeeper Check ==="
|
||||
spctl --assess --type execute --verbose "$APP_PATH" || echo "Gatekeeper assessment failed (expected for unsigned apps)"
|
||||
else
|
||||
echo "Executable not found at: $EXECUTABLE"
|
||||
fi
|
||||
else
|
||||
echo "App bundle not found"
|
||||
fi
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload workflow artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue