Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 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
5 changes: 5 additions & 0 deletions .changes/5b6cf8f2-eff6-4def-a335-1de5052a810a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "5b6cf8f2-eff6-4def-a335-1de5052a810a",
"type": "feature",
"description": "Add support for Kotlin/Native"
}
18 changes: 2 additions & 16 deletions .github/actions/setup-build/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
name: Setup build
description: >
Common repository and build tool setup

inputs:
# note nested virtualization is not supported on current arm64 mac runners: https://github.com/runfinch/finch/issues/812
install-finch:
description: 'Flag to install finch OCI tooling on mac hosts'
default: 'false'
required: false
description: Common repository and build tool setup

runs:
using: composite
Expand All @@ -19,6 +11,7 @@ runs:
distribution: 'corretto'
java-version: 17
cache: 'gradle'

# Cache the Kotlin/Native toolchain based on the input Kotlin version from version catalog
# see https://kotlinlang.org/docs/native-improving-compilation-time.html
- name: Cache Kotlin Native toolchain
Expand All @@ -29,10 +22,3 @@ runs:
key: ${{ runner.os }}-konan-${{ hashFiles('gradle/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-konan-
- name: Install finch OCI client
if: ${{ runner.os == 'macOS' && inputs.install-finch == 'true' }}
shell: bash
run: |
brew update
brew install --cask finch
finch vm init
2 changes: 1 addition & 1 deletion .github/workflows/artifact-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
- name: Generate Artifact Size Metrics
run: ./gradlew -Paws.kotlin.native=false artifactSizeMetrics
run: ./gradlew artifactSizeMetrics
Copy link
Contributor

@0marperez 0marperez Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we create a task to collect metrics for KMP projects? We're not doing so right now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, SDK-KT-771

- name: Analyze Artifact Size Metrics
run: ./gradlew analyzeArtifactSizeMetrics

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
name: test-reports-jvm-${{ matrix.java-version }}
path: '**/build/reports'

# macos-14 build and test for targets: jvm, macoArm64, iosSimulatorArm64, watchosSimulatorArm65, tvosSimulatorArm64
# macos-13 build and test for targets: jvm, macoX64, iosX64, tvosX64, watchosX64
# macos-14 build and test for targets: jvm, macosArm64, iosSimulatorArm64, watchosSimulatorArm65, tvosSimulatorArm64
# macos-13 build and test for targets: jvm, macosX64, iosX64, tvosX64, watchosX64
macos:
strategy:
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## [0.10.3] - 08/12/2025

## [0.10.2] - 07/24/2025

## [0.10.1] - 07/21/2025
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ See also:

### Windows
Ensure Docker is installed, then build the image using `./docker-images/build-all.sh`.
Run a `./gradlew build` and the build and tests should be routed through to the container.
Run a `./gradlew build` and the build and tests should be routed through to the container.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ class UriTest : CrtTest() {
assertEquals(expected, uri.toString())
}

@Ignore // FIXME Enable when Kotlin/Native implementation is complete
@Test
fun itParses() {
val uri = "https://test.aws.com:8000/kotlin?foo=baz"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ kotlin.daemon.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError
org.gradle.jvmargs=-Xmx2G -XX:MaxMetaspaceSize=1G

# aws-crt-kotlin
sdkVersion=0.10.3-SNAPSHOT
sdkVersion=0.10.4-SNAPSHOT
Loading