-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
146 lines (146 loc) · 7.12 KB
/
action.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: Xcodebuild Action
description: Runs xcodebuild e.g. to run tests.
author: ser.soft GmbH
inputs:
workspace:
description: The path to the xcworkspace to build. Mutually exclusive with `project` and `spm-package`. See also `xcodebuild`'s `-workspace`.
required: false
project:
description: The path to the xcodeproj to build. Mutually exclusive with `workspace` and `spm-package`. See also `xcodebuild`'s `-project`.
required: false
spm-package:
description: The path to the SPM package (folder containing Package.swift) to build. Mutually exclusive with `workspace` and `project`.
required: false
scheme:
description: The scheme to build. Required when using a workspace. See also `xcodebuild`'s `-scheme`.
required: false
target:
description: The target to build. See also `xcodebuild`'s `-target`.
required: false
destination:
description: The destination specifier to build. See also `xcodebuild`'s `-destination`.
required: false
configuration:
description: The configuration to build. See also `xcodebuild`'s `-configuration`.
required: false
sdk:
description: The SDK to use for building. See also `xcodebuild`'s `-sdk`.
required: false
arch:
description: The architecture to use for building. See also `xcodebuild`'s `-arch`.
required: false
xcconfig:
description: The path to an xcconfig file with build settings overrides. See also `xcodebuild`'s `-xcconfig`.
required: false
jobs:
description: The number of jobs to use for building. See also `xcodebuild`'s `-jobs`.
required: false
parallelize-targets:
description: If `true`, the targets will be built in parallel. See also `xcodebuild`'s `-parallelizeTargets`.
required: false
enable-code-coverage:
description: If `true`, code coverage is enabled while testing. See also `xcodebuild`'s `-enableCodeCoverage`.
required: false
parallel-testing-enabled:
description: If `true`, tests are executed in parallel. See also `xcodebuild`'s `-parallel-testing-enabled`.
required: false
maximum-concurrent-test-device-destinations:
description: The maximum number of device destinations to run in parallel. See also `xcodebuild`'s `-maximum-concurrent-test-device-destinations`.
required: false
maximum-concurrent-test-simulator-destinations:
description: The maximum number of simulator destinations to run in parallel. See also `xcodebuild`'s `-maximum-concurrent-test-simulator-destinations`.
required: false
quiet:
description: If `true`, xcodebuild won't print anything except warnings and errors. See also `xcodebuild`'s `-quiet`.
required: false
hide-shell-script-environment:
description: If `true`, xcodebuild won't print the environment for shell build scripts. See also `xcodebuild`'s `-hideShellScriptEnvironment`.
required: false
enable-address-sanitizer:
description: Whether the address sanitizer should be enabled. See also `xcodebuild`'s `-enableAddressSanitizer`.
required: false
enable-thread-sanitizer:
description: Whether the thread sanitizer should be enabled. See also `xcodebuild`'s `-enableThreadSanitizer`.
required: false
enable-undefined-behavior-sanitizer:
description: Whether the undefined behavior sanitizer should be enabled. See also `xcodebuild`'s `-enableUndefinedBehaviorSanitizer`.
required: false
result-bundle-path:
description: The path that should be used for the result bundle. See also `xcodebuild`'s `-resultBundlePath`.
required: false
result-bundle-version:
description: The version that should be used for the result bundle. See also `xcodebuild`'s `-resultBundleVersion`.
required: false
cloned-source-packages-path:
description: The path that should be used for the cloning of remote packages. See also `xcodebuild`'s `-clonedSourcePackagesDirPath`.
required: false
package-cache-path:
description: The path of caches used for package support. See also `xcodebuild`'s `-packageCachePath`.
required: false
derived-data-path:
description: The path that should be used for derived data. See also `xcodebuild`'s `-derivedDataPath`.
required: false
disable-package-repository-cache:
description: Whether the package repository cache should be disabled. See also `xcodebuild`'s `-disablePackageRepositoryCache`.
required: false
disable-automatic-package-resolution:
description: Whether automatic package resolution should be disabled. See also `xcodebuild`'s `-disableAutomaticPackageResolution`.
required: false
skip-package-updates:
description: Whether package updates should be skipped. See also `xcodebuild`'s `-skipPackageUpdates`.
required: false
skip-package-plugin-validation:
description: Whether package plugin validation should be skipped. See also `xcodebuild`'s `-skipPackagePluginValidation`.
required: false
skip-macro-validation:
description: Whether macro validation should be skipped. See also `xcodebuild`'s `-skipMacroValidation`.
required: false
xcroot:
description: The path to a .xcroot to use for building and/or testing. See also `xcodebuild`'s `-xcroot`.
required: false
xctestrun:
description: The path to a test run specification. See also `xcodebuild`'s `-xctestrun`.
required: false
test-plan:
description: The name of the test plan associated with the scheme to use for testing. See also `xcodebuild`'s `-testPlan`.
required: false
only-testing:
description: A (line-separated) list of tests to run. See also `xcodebuild`'s `-only-testing`.
required: false
skip-testing:
description: A (line-separated) list of tests to skip. See also `xcodebuild`'s `-skip-testing`.
required: false
skip-unavailable-actions:
description: Whether unavailable actions should be skipped instead of failing the execution. See also `xcodebuild`'s `-skipUnavailableActions`.
required: false
allow-provisioning-updates:
description: Whether provisioning updates are allowed. See also `xcodebuild`'s `-allowProvisioningUpdates`.
required: false
allow-provisioning-device-registration:
description: Whether provisioning device registrations are allowed. See also `xcodebuild`'s `-allowProvisioningDeviceRegistration`.
required: false
build-settings:
description: Arbitrary, space separated build settings (e.g. PLATFORM_NAME=iphonesimulator).
required: false
action:
description: The action to perform (e.g. build, test, ...). Can also contain multiple actions.
required: true
default: test
output-formatter:
description: The output formatter to use (e.g. xcpretty, xcbeautify, ...). The xcodebuild output will be piped into this formatter.
required: false
default: 'xcpretty --color'
dry-run:
description: '<TEST ONLY> Whether the commands should only be composed and not actually run. Only used in test.'
required: false
outputs:
unprocessed-command:
description: The unprocessed command from which the executed command was resolved. E.g. paths are not resolved in this one.
executed-command:
description: The command that was executed.
runs:
using: node20
main: dist/index.js
branding:
color: blue
icon: check-square