Skip to content

Commit

Permalink
kotlin eap 1.9.0-Beta CI
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed May 29, 2023
1 parent 37c8a89 commit 679c7b7
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/patches/K2_workaround.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Subject: [PATCH] K2 workaround
---
Index: rsocket-test/src/commonMain/kotlin/io/rsocket/kotlin/test/InUseTrackingPool.kt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/rsocket-test/src/commonMain/kotlin/io/rsocket/kotlin/test/InUseTrackingPool.kt b/rsocket-test/src/commonMain/kotlin/io/rsocket/kotlin/test/InUseTrackingPool.kt
--- a/rsocket-test/src/commonMain/kotlin/io/rsocket/kotlin/test/InUseTrackingPool.kt (revision ed9ab05e555f7e10aa7fbb9f51120dd0913d475d)
+++ b/rsocket-test/src/commonMain/kotlin/io/rsocket/kotlin/test/InUseTrackingPool.kt (date 1683987216035)
@@ -37,7 +37,7 @@

override fun recycle(instance: ChunkBuffer) {
synchronized(this) {
- check(inUse.remove(IdentityWrapper(instance, null)))
+ inUse.remove(IdentityWrapper(instance, null))
}
BufferPool.recycle(instance)
}
30 changes: 30 additions & 0 deletions .github/workflows/ci-kotlin-eap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Kotlin EAP CI
on:
push:
branches:
- kotlin-eap/ci

jobs:
kotlin:
name: Kotlin 1.9.0-Beta
uses: ./.github/workflows/run-tests.yml
with:
cache-disabled: true
kotlin-version: '1.9.0-Beta'

kotlin-k2:
name: Kotlin 1.9.0-Beta + K2
uses: ./.github/workflows/run-tests.yml
with:
cache-disabled: true
kotlin-version: '1.9.0-Beta'
patch-file: './.github/patches/K2_workaround.patch'
kotlin-use-k2: true

kotlin-cc:
name: Kotlin 1.9.0-Beta + CC
uses: ./.github/workflows/run-tests.yml
with:
cache-disabled: true
kotlin-version: '1.9.0-Beta'
configuration-cache-enabled: true

0 comments on commit 679c7b7

Please sign in to comment.