Extended CI with various extra tests, added Java 17 support in unit tests (fixes #8835) (#8839)

* Added a pure build stage with various versions

* Added build artifacts from GitHub CI

* Upgrade mocking and testing libraries

* Extended GitHub CI test stages, added Windows tests

* Fixed job name

* Split some jobs for increased speed due to better parallelism
This commit is contained in:
Crsi
2023-03-08 15:39:32 +01:00
committed by GitHub
parent a4339ff783
commit 5e88dbd7a1
3 changed files with 144 additions and 8 deletions

View File

@ -89,7 +89,7 @@ project(":android") {
dependencies {
"implementation"(project(":core"))
"implementation"("com.badlogicgames.gdx:gdx-backend-android:$gdxVersion")
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1")
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a")
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a")
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86")
@ -116,7 +116,7 @@ project(":core") {
dependencies {
"implementation"("com.badlogicgames.gdx:gdx:$gdxVersion")
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
"implementation"("org.jetbrains.kotlin:kotlin-reflect:${com.unciv.build.BuildConfig.kotlinVersion}")
}
@ -129,18 +129,18 @@ project(":core") {
dependencies {
"implementation"(project(":core"))
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
"implementation"("junit:junit:4.13.1")
"implementation"("org.mockito:mockito-all:1.10.19")
"implementation"("junit:junit:4.13.2")
"implementation"("org.mockito:mockito-core:5.1.1")
"implementation"("com.badlogicgames.gdx:gdx-backend-lwjgl3:${gdxVersion}")
"implementation"("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop")
"implementation"("com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion")
"implementation"("com.badlogicgames.gdx:gdx:$gdxVersion")
"testImplementation"("junit:junit:4.13.1")
"testImplementation"("org.mockito:mockito-all:1.10.19")
"testImplementation"("junit:junit:4.13.2")
"testImplementation"("org.mockito:mockito-core:5.1.1")
"testImplementation"("io.mockk:mockk:1.9.3")
"testImplementation"("com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion")