forked from sersoft-gmbh/xcodebuild-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
131 lines (131 loc) · 6.05 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
name: Xcodebuild Action
description: Runs xcodebuild e.g. to run tests.
author: Harper Pack
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
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
derived-data-path:
description: The path that should be used for derived data. See also `xcodebuild`'s `-derivedDataPath`.
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
skip-testing:
description: A 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
use-xcpretty:
description: Whether the output of xcodebuild should be forwarded to xcpretty.
required: true
default: true
xcpretty-formatter-path:
description: Path to a ruby script that returns a formatter object to be used by xcpretty.
required: false
cloned-source-packages-dir-path:
description: Path to store cloned Swift packages. Defaults to somewhere in DerivedData.
required: false
dry-run:
description: '<TEST ONLY> Whether the commands should only be printed but not actually run. Only used in test.'
required: false
run-with-arch:
description: Arguments to pass to the `arch` command when running xcodebuild (and xcpretty if enabled). If not specified, `arch` is not included in the commands.
required: false
disable-automatic-package-resolution:
description: Prevent packages from automatically being resolved to versions other than those recorded in the `Package.resolved` file
required: true
default: true
skip-package-updates:
description: Prevent package updates completely
required: true
default: false
disable-index-while-building:
description: Disable indexing during build to speed it up. In CI, we don't need autocomplete or the other features that indexing provides.
required: false
runs:
using: node16
main: dist/index.js
branding:
color: blue
icon: check-square