-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcframework generation #223
Conversation
the removal of extra libraries in the swift package means the 'ElasticApm' target no longer needs to be seperately distinguished by xcodebuild
562986e
to
1c1f574
Compare
1c1f574
to
c8433ef
Compare
refactored config to not use PersistentExporter classes in public APIs
c9cabcb
to
a998e4f
Compare
a0f2fb1
to
13e8e31
Compare
e052d52
to
cb78116
Compare
1fd4bef
to
de9913d
Compare
de9913d
to
52a186d
Compare
Co-authored-by: Victor Martinez <[email protected]>
2f6365a
to
124f9c9
Compare
124f9c9
to
8e104ff
Compare
--- | ||
name: xcframework builder | ||
on: | ||
workflow_dispatch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ident of 4 spaces rather than 2
tar -czf "./dist/ElasticApm_macOS-${APP_VERSION}.tar.gz" -C ./package ElasticApm_macOS.xcframework | ||
tar -czf "./dist/ElasticApm_iOS-${APP_VERSION}.tar.gz" -C ./package ElasticApm_iOS.xcframework | ||
- name: Generate framework provenance | ||
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2 | |
uses: actions/attest-build-provenance@49df96e17e918a15956db358890b08e61c704919 # v1.2.0 |
xcode-version: latest-stable | ||
- uses: actions/checkout@v4 | ||
- name: xcodegen | ||
uses: bryce-b/xcodegen-action@patch-1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pinned version instead?
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0 | ||
with: | ||
xcode-version: latest-stable | ||
- uses: actions/checkout@v4 | ||
- name: xcodegen | ||
uses: bryce-b/xcodegen-action@patch-1 | ||
with: | ||
spec: project.yml | ||
quiet: false | ||
version: '2.41.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this pattern in a few places, do you want me to refactor it using a GitHub composite action? I can contribute to your PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@v1v hold of of this for now. I've run into a blocker with the deployed artifact that may prevent this PR from going forward. I'm going to close this PR for now. We can also close https://github.com/elastic/observability-robots/issues/2223.
@_implementationOnly
to prevent issues in generating binary artifacts.issues to resolve:
ReadableSpan
,ReadableLogRecord
, andmetric
.