@@ -90,13 +90,15 @@ jobs:
9090 WorkflowSucceeded:${{ job.status == 'success' && '1' || '0' }}:Count
9191 WorkflowDuration:${{ steps.end.outputs.duration }}:Seconds
9292
93- # macos-14 build and test for targets: jvm, macoArm64 , iosSimulatorArm64, watchosSimulatorArm65, tvosSimulatorArm64
94- # macos-13 build and test for targets: jvm, macoX64 , iosX64, tvosX64, watchosX64
93+ # macOS ARM images build and test for targets: jvm, macosArm64 , iosSimulatorArm64, watchosSimulatorArm65, tvosSimulatorArm64
94+ # macos x64 images build and test for targets: jvm, macosX64 , iosX64, tvosX64, watchosX64
9595 macos :
9696 strategy :
9797 fail-fast : false
9898 matrix :
99- os : [macos-14, macos-13]
99+ os :
100+ - macos-15-large # x64
101+ - macos-15-xlarge # ARM
100102 runs-on : ${{ matrix.os }}
101103 steps :
102104 - name : Checkout sources
@@ -111,6 +113,17 @@ jobs:
111113 working-directory : ./smithy-kotlin
112114 shell : bash
113115 run : |
116+ # Bump memory profile for Kotlin daemon
117+ cat gradle.properties \
118+ | sed -r 's/-Xmx[0-9]+G/-Xmx6G/g' \
119+ | sed -r 's/-XX:MaxMetaspaceSize=[0-9]+G/-XX:MaxMetaspaceSize=2G/g' \
120+ > gradle.properties2
121+ mv gradle.properties2 gradle.properties
122+
123+ echo "Modified gradle.properties:"
124+ cat gradle.properties
125+ echo ""
126+
114127 # FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
115128 # echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
116129 ./gradlew apiCheck
@@ -369,7 +382,7 @@ jobs:
369382 run : |
370383 # TODO - JVM only
371384 cd $GITHUB_WORKSPACE/smithy-kotlin
372- ./gradlew --parallel - Paws.kotlin.native=false publishToMavenLocal
385+ ./gradlew -Paws.kotlin.native=false publishToMavenLocal
373386 SMITHY_KOTLIN_RUNTIME_VERSION=$(grep sdkVersion= gradle.properties | cut -d = -f 2)
374387 SMITHY_KOTLIN_CODEGEN_VERSION=$(grep codegenVersion= gradle.properties | cut -d = -f 2)
375388 cd $GITHUB_WORKSPACE/aws-sdk-kotlin
@@ -380,7 +393,7 @@ jobs:
380393 # smithy-kotlin should be
381394 sed -i "s/smithy-kotlin-runtime-version = .*$/smithy-kotlin-runtime-version = \"$SMITHY_KOTLIN_RUNTIME_VERSION\"/" gradle/libs.versions.toml
382395 sed -i "s/smithy-kotlin-codegen-version = .*$/smithy-kotlin-codegen-version = \"$SMITHY_KOTLIN_CODEGEN_VERSION\"/" gradle/libs.versions.toml
383- ./gradlew --parallel - Paws.kotlin.native=false publishToMavenLocal
396+ ./gradlew -Paws.kotlin.native=false publishToMavenLocal
384397 ./gradlew -Paws.kotlin.native=false test jvmTest
385398 ./gradlew -Paws.kotlin.native=false testAllProtocols
386399 - name : Calculate duration
0 commit comments