mbonnin
08/21/2023, 11:41 AMplatform.*
are not found ๐ . I can't really tell if it's a Gradle issue, Kotlin issue or just I'm holding it wrong? Does anyone have any success there?mbonnin
08/21/2023, 11:50 AMCLOVIS
08/21/2023, 12:42 PMCLOVIS
08/21/2023, 12:42 PMmbonnin
08/21/2023, 12:44 PMmbonnin
08/21/2023, 12:45 PMCLOVIS
08/21/2023, 12:46 PMCLOVIS
08/21/2023, 12:47 PMCLOVIS
08/21/2023, 12:49 PMmbonnin
08/21/2023, 12:50 PMmbonnin
08/21/2023, 12:51 PMCLOVIS
08/21/2023, 12:54 PMOleg Yukhnevich
08/21/2023, 12:55 PMthe configuration cache is useless in CInot entirely ๐ Im using CC in my projects on CI, to be able to run test tasks in single project in parallel. F.e. if we have KMP module with N kotlin targets, we can run tests for those targets in parallel (on GitHub actions Linux runners has 2 cores and MacOS runners has 3 cores!) And it definitely reduces tests execution times
mbonnin
08/21/2023, 12:57 PMOleg Yukhnevich
08/21/2023, 12:57 PMOleg Yukhnevich
08/21/2023, 12:58 PMcheck
task worksmbonnin
08/21/2023, 12:58 PM.konan
in your GitHub Actions cache by any chance?Oleg Yukhnevich
08/21/2023, 12:58 PMOleg Yukhnevich
08/21/2023, 12:59 PMOleg Yukhnevich
08/21/2023, 1:03 PMmbonnin
08/21/2023, 1:04 PMmbonnin
08/21/2023, 1:05 PMmbonnin
08/21/2023, 1:06 PMGetRandom.kt:7:40 [UNRESOLVED_REFERENCE] Unresolved reference: internal
Oleg Yukhnevich
08/21/2023, 1:09 PMOleg Yukhnevich
08/21/2023, 1:21 PMcache-disabled: true
, so there were no cache at all
So looks like the problem is in assemble
task, cause check
task works on CImbonnin
08/21/2023, 1:23 PMcompile${Foo}KotlinMetadata
mbonnin
08/21/2023, 1:23 PMcheck
depends on. If it's not publishing (it shouldn't) then maybe it doesn't need the KotlinMetadata
partsCLOVIS
08/21/2023, 1:24 PMcheck
should depend on anything and everything that lets you decide in an automated way whether your code is good or not (unit tests, integration tests, coverage checks, quality gates, everything)Oleg Yukhnevich
08/21/2023, 1:24 PMrandom:compileKotlinLinuxX64
failed, but on CI run it was executed successfullymbonnin
08/21/2023, 1:25 PM:cryptography-random:compileAppleMainKotlinMetadata
that failedOleg Yukhnevich
08/21/2023, 1:26 PM> Task :cryptography-random:compileKotlinLinuxX64 FAILED
e: file:///Users/mbonnin/git/cryptography-kotlin/cryptography-random/src/linuxMain/kotlin/GetRandom.kt:7:40 [UNRESOLVED_REFERENCE] Unresolved reference: internal
e: file:///Users/mbonnin/git/cryptography-kotlin/cryptography-random/src/linuxMain/kotlin/GetRandom.kt:22:60 [UNRESOLVED_REFERENCE] Unresolved reference: GRND_NONBLOCK
mbonnin
08/21/2023, 1:26 PMOleg Yukhnevich
08/21/2023, 1:26 PMmbonnin
08/21/2023, 1:27 PMOleg Yukhnevich
08/21/2023, 1:32 PM./gradlew assemble --continue
2. ./gradlew assemble --continue --configuration-cache
save log / which tasks were executed in each run. Between runs delete .konan
folder
may be --dry-run
also will be enough here to see task list, but not sure
then compare them and pass info in YouTrack issue ๐mbonnin
08/21/2023, 1:33 PMOleg Yukhnevich
08/21/2023, 1:35 PMcryptography-random:compileKotlinLinuxX64
- but it could not be true, as it should depends at least on cryptography-random:cinteropRandomLinuxX64
- which should generate cinterop declarationsmbonnin
08/21/2023, 1:36 PMOleg Yukhnevich
08/21/2023, 1:38 PMmbonnin
08/21/2023, 1:39 PM