-
Notifications
You must be signed in to change notification settings - Fork 4
58 lines (52 loc) · 1.63 KB
/
PR.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: PR-Test
on:
pull_request:
paths-ignore:
- 'doc/**'
- 'documentation/**'
- '*.md'
- '*.yml'
- '.github/workflows/**'
permissions:
contents: read
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- jvmTest
- jsTest
- linuxX64Test
steps:
- uses: kotest/kotest-action@master
with:
gradle-command: ${{ matrix.target }}
java-version: 17
mac:
needs: linux
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
target:
- macosX64Test macosArm64Test
- iosX64Test iosSimulatorArm64Test iosArm64TestKlibrary iosArm32TestKlibrary
- tvosX64Test tvosArm64TestKlibrary tvosSimulatorArm64Test
- watchosArm32TestKlibrary watchosArm64TestKlibrary watchosX86Test watchosX64Test watchosSimulatorArm64Test
steps:
- uses: kotest/kotest-action@master
with:
gradle-command: ${{ matrix.target }}
java-version: 17
windows:
needs: linux
runs-on: windows-latest
steps:
- uses: kotest/kotest-action@master
with:
gradle-command: mingwX64Test
java-version: 17
env:
GRADLE_OPTS: -Dorg.gradle.configureondemand=false -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxMetaspaceSize=756m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"