Skip to content

Commit

Permalink
Only specific tests for IOs
Browse files Browse the repository at this point in the history
  • Loading branch information
deusaquilus committed Sep 11, 2024
1 parent 8a030e4 commit e328ee1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,27 @@ jobs:
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- run: ./gradlew clean build --stacktrace -Pnosign -PisCI

- name: 'Run Linux Tests'
if: matrix.os == 'ubuntu-latest'
run: ./gradlew clean build --stacktrace -PisCI -Pnosign

# - name: 'Run Linux Tests'
# if: matrix.os == 'ubuntu-latest'
# run: ./gradlew clean build --stacktrace -PisCI -Pnosign
#
# - name: 'Run MacOS Tests'
# if: matrix.os == 'macOS-latest'
# run: ./gradlew clean build --stacktrace -PisCI -Pnosign
#
# - name: 'Run windows tests'
# if: matrix.os == 'windows-latest'
# run: ./gradlew mingwX64Test --stacktrace -PisCI -Pnosign
- name: 'Run MacOS Tests'
if: matrix.os == 'macOS-latest'
run: >-
./gradlew
macosX64Test
macosArm64Test
iosX64Test
iosArm64Test
iosSimulatorArm64Test
tvosX64Test
tvosArm64Test
watchosX64Test
watchosArm32Test
watchosArm64Test
--stacktrace -PisCI -Pnosign
- name: 'Run windows tests'
if: matrix.os == 'windows-latest'
run: ./gradlew mingwX64Test --stacktrace -PisCI -Pnosign
14 changes: 5 additions & 9 deletions terpal-sql-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.konan.target.HostManager

plugins {
kotlin("multiplatform")
Expand Down Expand Up @@ -47,15 +46,13 @@ android {
}

kotlin {
if (HostManager.hostIsLinux) {
androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "17"
}
androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "17"
}
}

}

sourceSets {

Expand Down Expand Up @@ -115,7 +112,6 @@ kotlin {
// }
//}
}
}
}

dependencies {
Expand Down

0 comments on commit e328ee1

Please sign in to comment.