-
Notifications
You must be signed in to change notification settings - Fork 4
71 lines (65 loc) · 2.56 KB
/
master.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
59
60
61
62
63
64
65
66
67
68
69
70
71
name: master
on:
push:
paths-ignore:
- 'doc/**'
- 'documentation/**'
- '*.md'
- '*.yml'
- '.github/workflows/**'
branches:
- master
permissions:
contents: read
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- jvmTest publishJvmPublicationToDeployRepository publishKotlinMultiplatformPublicationToDeployRepository
- jsTest publishJsPublicationToDeployRepository
- linuxX64Test publishLinuxX64PublicationToDeployRepository
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 publishMacosX64PublicationToDeployRepository
- macosArm64Test publishMacosArm64PublicationToDeployRepository
- iosX64Test publishIosX64PublicationToDeployRepository
- iosSimulatorArm64Test publishIosSimulatorArm64PublicationToDeployRepository
- iosArm64TestKlibrary publishIosArm64PublicationToDeployRepository
- iosArm32TestKlibrary publishIosArm32PublicationToDeployRepository
- tvosX64Test publishTvosX64PublicationToDeployRepository
- tvosArm64TestKlibrary publishTvosArm64PublicationToDeployRepository
- watchosArm32TestKlibrary publishWatchosArm32PublicationToDeployRepository
- watchosArm64TestKlibrary publishWatchosArm64PublicationToDeployRepository
- watchosX86Test publishWatchosX86PublicationToDeployRepository
- watchosX64Test publishWatchosX64PublicationToDeployRepository
- watchosSimulatorArm64Test publishWatchosSimulatorArm64PublicationToDeployRepository
- tvosSimulatorArm64Test publishTvosSimulatorArm64PublicationToDeployRepository
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 publishMingwX64PublicationToDeployRepository"
java-version: 17
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}