You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The list of Apple platform SDKs for which to build slices and assemble into an XCFramework. This must be a JSON array of strings, itself in a string since GitHub Actions doesn't support arrays as inputs.
The Sentry project target to build an XCFramework slice for.
18
+
Possible values: Sentry, SentrySwiftUI.
19
+
required: true
20
+
type: string
21
+
22
+
suffix:
23
+
description: |-
24
+
The suffix to add to the build product name.
25
+
E.g. "-Dynamic" or "-WithoutUIKitOrAppKit".
26
+
required: false
27
+
type: string
28
+
29
+
macho-type:
30
+
description: |-
31
+
The Mach-O type of the build product.
32
+
Possible values: mh_dylib, staticlib.
33
+
required: false
34
+
type: string
35
+
default: "mh_dylib"
36
+
37
+
configuration-suffix:
38
+
description: |-
39
+
The suffix to add to the build product name to build an alternate configuration of the target.
40
+
E.g. "WithoutUIKit".
41
+
required: false
42
+
type: string
43
+
44
+
variant-id:
45
+
description: |-
46
+
The ID of the variant to build an XCFramework slice for. Used to collect appropriate slices for final deliverable assembly.
47
+
required: true
48
+
type: string
49
+
50
+
include-maccatalyst:
51
+
description: |-
52
+
Directs whether or not to build a Mac Catalyst compatible slice.
53
+
required: false
54
+
type: string
55
+
default: "false"
56
+
57
+
jobs:
58
+
build-xcframework-variant-slices:
59
+
name: Build ${{inputs.name}}${{inputs.suffix}} XCFramework Variant Slice for ${{matrix.sdk}}
60
+
61
+
# We must compile this on an arm64 runner, cause it's required for visionOS. macos-14 uses arm64.
62
+
# To see the available runners see https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories.
63
+
runs-on: macos-14
64
+
65
+
strategy:
66
+
matrix:
67
+
sdk: ${{ fromJson(inputs.sdk-list) }}
68
+
69
+
steps:
70
+
- uses: actions/checkout@v4
71
+
72
+
# We have to compile on Xcode 15.2 because compiling on Xcode 15.4 fails with
name: Build ${{matrix.variant.name}}${{matrix.variant.suffix}} XCFramework Slice for ${{matrix.sdk}}
30
-
# We must compile this on an arm64 runner, cause it's required for visionOS. macos-14 uses arm64.
31
-
# To see the available runners see https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories.
0 commit comments