File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,22 @@ jobs:
1616
1717 - name : Build Intel App
1818 run : |
19+ echo "Building Intel version..."
1920 ARCH="x86_64" ./build.sh
21+ echo "Checking Intel build contents..."
22+ ls -R build/
23+ echo "Copying Intel build..."
2024 cp -R build/NeovideProject.app build/NeovideProject-intel.app || exit 1
2125 cp build/NeovideProject.dmg build/NeovideProject-intel.dmg || exit 1
2226 rm -rf build/NeovideProject.app build/NeovideProject.dmg
2327
2428 - name : Build ARM App
2529 run : |
30+ echo "Building ARM version..."
2631 ARCH="arm64" ./build.sh
32+ echo "Checking ARM build contents..."
33+ ls -R build/
34+ echo "Copying ARM build..."
2735 cp -R build/NeovideProject.app build/NeovideProject-arm.app || exit 1
2836 cp build/NeovideProject.dmg build/NeovideProject-arm.dmg || exit 1
2937 rm -rf build/NeovideProject.app build/NeovideProject.dmg
Original file line number Diff line number Diff line change @@ -29,10 +29,18 @@ mkdir -p "build/$APP_NAME.app/Contents/Resources"
2929sed " s/com\.neovide\.project/$BUNDLE_ID /g" " src/Contents/Info.plist" > " build/$APP_NAME .app/Contents/Info.plist"
3030
3131# Compile Swift launcher
32+ echo " Compiling for architecture: $ARCH with target: $TARGET "
3233swiftc " src/Contents/MacOS/neovide-project-launcher.swift" \
3334 -target $TARGET \
3435 -o " build/$APP_NAME .app/Contents/MacOS/neovide-project-launcher"
3536
37+ # Verify the binary was created
38+ if [ ! -f " build/$APP_NAME .app/Contents/MacOS/neovide-project-launcher" ]; then
39+ echo " ERROR: Binary was not created!"
40+ ls -la " build/$APP_NAME .app/Contents/MacOS/"
41+ exit 1
42+ fi
43+
3644# Copy resources
3745cp " src/Contents/Resources/neovide-project" " build/$APP_NAME .app/Contents/Resources/"
3846cp " src/Contents/Resources/neovide.icns" " build/$APP_NAME .app/Contents/Resources/"
@@ -41,6 +49,8 @@ chmod +x "build/$APP_NAME.app/Contents/Resources/neovide-project"
4149# Verify architecture of built binary
4250echo " Verifying binary architecture..."
4351file " build/$APP_NAME .app/Contents/MacOS/neovide-project-launcher"
52+ echo " Full directory structure:"
53+ ls -R build/
4454
4555echo " Building DMG..."
4656hdiutil create -volname " $APP_NAME " -srcfolder " build/$APP_NAME .app" -ov -format UDZO " build/$APP_NAME .dmg"
You can’t perform that action at this time.
0 commit comments