Skip to content

Commit d427433

Browse files
committed
WIP Tentative build speed improvement for Gradle
1 parent f77b991 commit d427433

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
-sdk iphonesimulator \
6464
-arch arm64 \
6565
-configuration Debug \
66-
clean build \
66+
build \
6767
CODE_SIGNING_ALLOWED=NO \
6868
CODE_SIGN_IDENTITY="" \
6969
CODE_SIGNING_REQUIRED=NO

tasks-app-ios/Taskfolio.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
);
190190
runOnlyForDeploymentPostprocessing = 0;
191191
shellPath = /bin/sh;
192-
shellScript = "if [ \"${OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED}\" = \"YES\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to 'YES'.\"\n exit 0\nfi\n\nif [ -z \"${IOS_TARGET}\" ]; then\n echo \"You must define IOS_TARGET to 'all', 'simulator' or 'device' to allow building for iOS.\"\n exit 1\nfi\n\necho \"Building for '${IOS_TARGET}' target\"\n\ncd \"${SRCROOT}/..\"\n./gradlew \\\n :tasks-app-shared:embedAndSignAppleFrameworkForXcode \\\n :tasks-app-ios:updateXcodeVersionConfig \\\n -Pios.target=\"${IOS_TARGET}\"\n";
192+
shellScript = "if [ \"${OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED}\" = \"YES\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to 'YES'.\"\n exit 0\nfi\n\nif [ -z \"${IOS_TARGET}\" ]; then\n echo \"You must define IOS_TARGET to 'all', 'simulator' or 'device' to allow building for iOS.\"\n exit 1\nfi\n\necho \"Building for '${IOS_TARGET}' target\"\n\ncd \"${SRCROOT}/..\"\n./gradlew --parallel \\\n :tasks-app-shared:embedAndSignAppleFrameworkForXcode \\\n :tasks-app-ios:updateXcodeVersionConfig \\\n -Pios.target=\"${IOS_TARGET}\"\n";
193193
};
194194
/* End PBXShellScriptBuildPhase section */
195195

0 commit comments

Comments
 (0)