Skip to content

Commit

Permalink
update release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vendelieu committed Oct 3, 2024
1 parent 39f1dec commit 84aac51
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions buildSrc/src/main/kotlin/CompilationConfiguration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ fun KotlinTarget.getHostType(): HostType? = when (platformType) {
-> HostType.LINUX

KotlinPlatformType.native -> when {
name.startsWith("linux") -> HostType.LINUX

name.startsWith("mingw") -> HostType.WINDOWS

name.startsWith("ios") -> HostType.MAC_OS
name.startsWith("watchos") -> HostType.MAC_OS
name.startsWith("macos") -> HostType.MAC_OS
name.startsWith("linux") -> HostType.LINUX
name.startsWith("mingw") -> HostType.WINDOWS
name.startsWith("tvos") -> HostType.MAC_OS
else -> error("Unsupported native target: $this")
}

Expand Down

0 comments on commit 84aac51

Please sign in to comment.