Skip to content

Commit 910bae1

Browse files
committed
skip ios checks for kotlin 2.2.20 windows
1 parent 9fd25f9 commit 910bae1

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

samples/kotlin-2-tests/local-check.sh

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,19 @@ log() {
88
echo "\033[0;32m> $1\033[0m"
99
}
1010

11-
./gradlew clean build
12-
log "kotlin-2-test build success"
11+
./gradlew clean assembleDebug
12+
log "kotlin-2-tests mobile android success"
13+
14+
if ! command -v xcodebuild &> /dev/null
15+
then
16+
log "xcodebuild could not be found, skip ios checks"
17+
18+
./gradlew test lint
19+
log "kotlin-2-tests test success"
20+
21+
./gradlew assembleDebug assembleRelease jsJar jvmJar
22+
log "kotlin-2-tests build success"
23+
else
24+
./gradlew build
25+
log "kotlin-2-tests success"
26+
fi

0 commit comments

Comments
 (0)