Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,34 @@ jobs:
path: ${{ github.workspace }}/dist/carveracontroller-community-*.dmg
retention-days: 2

build-ios-app:
Comment thread
acj marked this conversation as resolved.
name: build-ios
runs-on: macos-15
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install poetry and dependencies
uses: ./.github/actions/bootstrap-poetry
with:
os: ios

- name: Build release
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=$GITHUB_REF_NAME
else
VERSION=$(date +'%Y.%m.%d')
fi
poetry run python scripts/build.py --os ios --version "$VERSION"

build-linux-artifacts:
name: build-linux-${{ matrix.platform }}
runs-on: ${{ matrix.image }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
4DEA4A81A8F3A569B130BCAA /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = OpenGLES.framework; sourceTree = DEVELOPER_DIR; };
4F7140229CC1D236491CB9CA /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CoreHaptics.framework; sourceTree = DEVELOPER_DIR; };
537F42158DFB71F9E32277D8 /* libSDL2_mixer.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = libSDL2_mixer.xcframework; path = ../dist/xcframework/libSDL2_mixer.xcframework; sourceTree = SOURCE_ROOT; };
59738AB41A8BB5D8001B2C0C /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; name = lib; path = /Users/mamonney/Carvera_Controller/dist/root/python3/lib; sourceTree = "<group>"; };
59738AB41A8BB5D8001B2C0C /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; name = lib; path = ../../../dist/root/python3/lib; sourceTree = "<group>"; };
59738ABA1A8E19AA001B2C0C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
59864361B31751B48655D9D2 /* libffi.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = libffi.xcframework; path = ../dist/xcframework/libffi.xcframework; sourceTree = SOURCE_ROOT; };
59994E3A148E85C800863906 /* carveracontrollerpkg */ = {isa = PBXFileReference; lastKnownFileType = folder; path = carveracontrollerpkg; sourceTree = "<group>"; };
59FDEA8A21E7D34E004E6ECE /* include */ = {isa = PBXFileReference; lastKnownFileType = folder; name = include; path = /Users/mamonney/Carvera_Controller/dist/root/python3/include; sourceTree = "<group>"; };
59FDEA8A21E7D34E004E6ECE /* include */ = {isa = PBXFileReference; lastKnownFileType = folder; name = include; path = ../../../dist/root/python3/include; sourceTree = "<group>"; };
5A7641749B9D44C54E1BBDFE /* Photos.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Photos.framework; sourceTree = DEVELOPER_DIR; };
64F7416AB075A0994023F21B /* libkivy.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = libkivy.xcframework; path = ../dist/xcframework/libkivy.xcframework; sourceTree = SOURCE_ROOT; };
650D4733935B336C699C93ED /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Accelerate.framework; sourceTree = DEVELOPER_DIR; };
Expand Down Expand Up @@ -408,10 +408,9 @@
DEVELOPMENT_TEAM = QMMYJPQXNE;
EXCLUDED_ARCHS = "";
FRAMEWORK_SEARCH_PATHS = (
/Users/mamonney/Carvera_Controller/dist/frameworks,
"$(SRCROOT)/../dist/xcframework",
"$(inherited)",
"$(SRCROOT)/../../../dist/frameworks",
"$(SRCROOT)/../../../dist/xcframework",
"$(inherited)",
);
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
Expand All @@ -420,16 +419,16 @@
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
HEADER_SEARCH_PATHS = (
"/Users/mamonney/Carvera_Controller/dist/root/python3/include/python3.11/**",
/Users/mamonney/Carvera_Controller/dist/include/common/sdl2,
"$(SRCROOT)/../../../dist/root/python3/include/python3.11/**",
"$(SRCROOT)/../../../dist/include/common/sdl2",
);
INFOPLIST_FILE = "carveracontroller-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = CarveraController;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
/Users/mamonney/Carvera_Controller/dist/lib,
"$(SRCROOT)/../../../dist/lib",
);
MARKETING_VERSION = 0.8.2;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -460,26 +459,25 @@
DEVELOPMENT_TEAM = QMMYJPQXNE;
EXCLUDED_ARCHS = "";
FRAMEWORK_SEARCH_PATHS = (
/Users/mamonney/Carvera_Controller/dist/frameworks,
"$(SRCROOT)/../dist/xcframework",
"$(inherited)",
"$(SRCROOT)/../../../dist/frameworks",
"$(SRCROOT)/../../../dist/xcframework",
"$(inherited)",
);
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
HEADER_SEARCH_PATHS = (
"/Users/mamonney/Carvera_Controller/dist/root/python3/include/python3.11/**",
/Users/mamonney/Carvera_Controller/dist/include/common/sdl2,
"$(SRCROOT)/../../../dist/root/python3/include/python3.11/**",
"$(SRCROOT)/../../../dist/include/common/sdl2",
);
INFOPLIST_FILE = "carveracontroller-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = CarveraController;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
/Users/mamonney/Carvera_Controller/dist/lib,
"$(SRCROOT)/../../../dist/lib",
);
MARKETING_VERSION = 0.8.2;
OTHER_LDFLAGS = "-all_load";
Expand Down Expand Up @@ -533,7 +531,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
USER_HEADER_SEARCH_PATHS = /Users/mamonney/Carvera_Controller/dist/root/include/;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../../../dist/root/include/";
};
name = Debug;
};
Expand Down Expand Up @@ -571,7 +569,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
USER_HEADER_SEARCH_PATHS = /Users/mamonney/Carvera_Controller/dist/root/include/;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../../../dist/root/include/";
};
name = Release;
};
Expand Down
15 changes: 8 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ virtualenv = "^20.31.2"
buildozer = "^1.5.0"

[tool.poetry.group.ios-dev.dependencies.kivy-ios]
git = "https://github.com/zittix/kivy-ios.git"
branch = "fix_custom_recipes"
git = "https://github.com/acj/kivy-ios.git"
branch = "pr-643-fix-custom-recipes"
Comment thread
SergeBakharev marked this conversation as resolved.
7 changes: 5 additions & 2 deletions scripts/build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@ else
plutil -replace CFBundleVersion -string "$1" packaging_assets/ios/carveracontroller-ios/carveracontroller-Info.plist
fi

# For now we open the project in XCode and build it from there
open packaging_assets/ios/carveracontroller-ios/carveracontroller.xcodeproj
if [ -n "$CI" ]; then
xcodebuild -project packaging_assets/ios/carveracontroller-ios/carveracontroller.xcodeproj -scheme CarveraController -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad mini (A17 Pro)'
else
open packaging_assets/ios/carveracontroller-ios/carveracontroller.xcodeproj
fi