Skip to content

Commit

Permalink
Merge pull request #75 from AAkira/tvOS
Browse files Browse the repository at this point in the history
Add tvOS
  • Loading branch information
AAkira authored Aug 16, 2021
2 parents 7cb8e9b + 9aea0e3 commit 4497796
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
run: ./gradlew :napier:macosX64Test --stacktrace
- name: Run watchos tests
run: ./gradlew :napier:watchosX64Test --stacktrace
- name: Run tvos tests
run: ./gradlew :napier:tvosX64Test --stacktrace

- name: Bundle the build report
if: failure()
Expand Down
11 changes: 11 additions & 0 deletions napier/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ kotlin {
framework()
}
}
tvos {
binaries {
framework()
}
}

sourceSets {
val commonMain by getting {
Expand Down Expand Up @@ -108,6 +113,12 @@ kotlin {
val watchosTest by getting {
dependsOn(nativeTest)
}
val tvosMain by getting {
dependsOn(nativeMain)
}
val tvosTest by getting {
dependsOn(nativeTest)
}
}
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4497796

Please sign in to comment.