Skip to content

Commit

Permalink
Try 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 committed Jan 1, 2025
1 parent ad54ecd commit 56e7c9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bindings-server.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ workflow(
)

val newestNotCompatibleVersion = "1.8.0"
val oldestCompatibleVersion = "2.0.0"
val oldestCompatibleVersion = "1.9.0"

newestNotCompatibleVersion.also { kotlinVersion ->
run(
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/bindings-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ jobs:
(.github/workflows/test-script-consuming-jit-bindings-too-old-kotlin.main.kts || true) >> output.txt 2>&1
grep "was compiled with an incompatible version of Kotlin" output.txt
- id: 'step-12'
name: 'Download older Kotlin compiler (2.0.0)'
run: 'curl -Lo kotlin-compiler-2.0.0.zip https://github.com/JetBrains/kotlin/releases/download/v2.0.0/kotlin-compiler-2.0.0.zip'
name: 'Download older Kotlin compiler (1.9.0)'
run: 'curl -Lo kotlin-compiler-1.9.0.zip https://github.com/JetBrains/kotlin/releases/download/v1.9.0/kotlin-compiler-1.9.0.zip'
- id: 'step-13'
name: 'Unzip and add to PATH'
run: 'unzip kotlin-compiler-2.0.0.zip -d kotlin-compiler-2.0.0'
run: 'unzip kotlin-compiler-1.9.0.zip -d kotlin-compiler-1.9.0'
- id: 'step-14'
name: 'Clean Maven Local to fetch required POMs again'
run: 'rm -rf ~/.m2/repository/'
- id: 'step-15'
name: 'Execute the script using the bindings from the server, using older Kotlin (2.0.0) as consumer'
name: 'Execute the script using the bindings from the server, using older Kotlin (1.9.0) as consumer'
run: |-
PATH=$(pwd)/kotlin-compiler-2.0.0/kotlinc/bin:$PATH
PATH=$(pwd)/kotlin-compiler-1.9.0/kotlinc/bin:$PATH
cp .github/workflows/test-script-consuming-jit-bindings.main.kts .github/workflows/test-script-consuming-jit-bindings-older-kotlin.main.kts
.github/workflows/test-script-consuming-jit-bindings-older-kotlin.main.kts
- id: 'step-16'
Expand Down

0 comments on commit 56e7c9c

Please sign in to comment.