Skip to content

Commit

Permalink
Added tier3 targets #3748
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Nov 12, 2023
1 parent 11ff718 commit 523f742
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
target:
- macosX64Test macosArm64Test
- iosX64Test iosSimulatorArm64Test iosArm64TestKlibrary iosArm32TestKlibrary
- tvosX64Test tvosArm64TestKlibrary
- watchosArm32TestKlibrary watchosArm64TestKlibrary watchosX86Test watchosX64Test
- tvosX64Test tvosArm64TestKlibrary tvosSimulatorArm64Test
- watchosArm32TestKlibrary watchosArm64TestKlibrary watchosX86Test watchosX64Test watchosSimulatorArm64Test watchosDeviceArm64Test

steps:
- name: Checkout the repo
Expand Down
17 changes: 14 additions & 3 deletions buildSrc/src/main/kotlin/kotest-native-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ kotlin {
macosX64()
macosArm64()

tvos()
androidNativeArm32()
androidNativeArm64()
androidNativeX86()
androidNativeX64()

tvosX64()
tvosArm64()
tvosSimulatorArm64()

watchosArm32()
watchosArm64()
watchosX86()
watchosX64()
watchosDeviceArm64()
watchosSimulatorArm64()

iosX64()
Expand Down Expand Up @@ -54,9 +61,11 @@ kotlin {
val watchosArm64Main by getting { dependsOn(desktopMain) }
val watchosX86Main by getting { dependsOn(desktopMain) }
val watchosX64Main by getting { dependsOn(desktopMain) }
val watchosDeviceArm64Main by getting { dependsOn(desktopMain) }
val watchosSimulatorArm64Main by getting { dependsOn(desktopMain) }

val tvosMain by getting { dependsOn(desktopMain) }
val tvosX64Main by getting { dependsOn(desktopMain) }
val tvosArm64Main by getting { dependsOn(desktopMain) }
val tvosSimulatorArm64Main by getting { dependsOn(desktopMain) }

// Test sourcesets
Expand All @@ -81,9 +90,11 @@ kotlin {
val watchosArm64Test by getting { dependsOn(nativeTest) }
val watchosX86Test by getting { dependsOn(nativeTest) }
val watchosX64Test by getting { dependsOn(nativeTest) }
val watchosDeviceArm64Test by getting { dependsOn(nativeTest) }
val watchosSimulatorArm64Test by getting { dependsOn(nativeTest) }

val tvosTest by getting { dependsOn(nativeTest) }
val tvosX64Test by getting { dependsOn(nativeTest) }
val tvosArm64Test by getting { dependsOn(nativeTest) }
val tvosSimulatorArm64Test by getting { dependsOn(nativeTest) }
}
} else {
Expand Down

0 comments on commit 523f742

Please sign in to comment.