-
Notifications
You must be signed in to change notification settings - Fork 8
102 lines (97 loc) · 3.01 KB
/
smoke-tests-1_9_0.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Smoke Tests 1.9.0
on:
workflow_dispatch:
inputs:
linkage:
type: choice
options:
- static
- dynamic
required: true
default: static
description:
'The linkage mode to use for the tests. "static" will produce static frameworks, "dynamic" will produce dynamic frameworks.'
configuration:
type: choice
options:
- debug
- release
required: true
default: debug
description:
'The configuration to use for the tests. "release" will produce release builds, "debug" will produce debug builds (type mapping tests currently always use release).'
target:
type: choice
options:
- ios_arm64
- ios_x64
- ios_simulator_arm64
- macos_arm64
- macos_x64
required: true
default: macos_arm64
description:
'The target to use for the type mapping tests.'
permissions:
contents: read
checks: write
jobs:
acceptance-tests:
name: Acceptance Tests
runs-on: macos-14
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
- name: Prepare Worker
uses: ./.github/actions/prepare-worker
- name: Run Acceptance Tests
uses: gradle/[email protected]
with:
arguments: ':acceptance-tests:functional:kgp_1.9.0Test'
build-root-directory: SKIE
env:
KOTLIN_LINK_MODE: ${{ inputs.linkage }}
KOTLIN_BUILD_CONFIGURATION: ${{ inputs.configuration }}
type-mapping-tests:
name: Type Mapping Tests
runs-on: macos-14
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
- name: Prepare Worker
uses: ./.github/actions/prepare-worker
- name: Run Type Mapping Tests
uses: gradle/[email protected]
id: run-tests
with:
arguments: ':acceptance-tests:type-mapping:kgp_1.9.0Test'
build-root-directory: SKIE
env:
KOTLIN_LINK_MODE: ${{ inputs.linkage }}
KOTLIN_TARGET: ${{ inputs.target }}
KOTLIN_BUILD_CONFIGURATION: ${{ inputs.configuration }}
external-libraries-tests:
name: External Libraries Tests
runs-on: macos-14
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
- name: Prepare Worker
uses: ./.github/actions/prepare-worker
- name: Run External Libraries Tests
uses: gradle/[email protected]
with:
arguments: ':acceptance-tests:libraries:kgp_1.9.0Test'
build-root-directory: SKIE
env:
KOTLIN_LINK_MODE: ${{ inputs.linkage }}
KOTLIN_BUILD_CONFIGURATION: ${{ inputs.configuration }}