Skip to content

Commit

Permalink
Merge pull request #5 from Funkatronics/add-ios-targets
Browse files Browse the repository at this point in the history
Add iOS Targets
  • Loading branch information
Funkatronics committed Aug 16, 2023
2 parents d8f8ea6 + 40ee103 commit 83d443c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
path: '**/build/reports'

publish:
runs-on: ubuntu-latest
runs-on: macos-latest
needs: build
if: ${{ github.event_name == 'release' }}

Expand Down
11 changes: 11 additions & 0 deletions okiodriver/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ kotlin {
useJUnitPlatform()
}
}
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64(),
macosX64(),
macosArm64()
).forEach {
it.binaries.framework {
baseName = "rpccore-okiodriver"
}
}

sourceSets {
val commonMain by getting {
Expand Down
11 changes: 11 additions & 0 deletions rpccore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ kotlin {
useJUnitPlatform()
}
}
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64(),
macosX64(),
macosArm64()
).forEach {
it.binaries.framework {
baseName = "rpccore"
}
}
// js(BOTH) {
// browser {
// commonWebpackConfig {
Expand Down

0 comments on commit 83d443c

Please sign in to comment.