-
Notifications
You must be signed in to change notification settings - Fork 61
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
add tracing_subscriber needed rust flags for each binding #1143
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ad3fdf3
add tracing_subscriber needed rust flags for each binding
aaronvg 54be423
more things
aaronvg 88976f1
bust the cache
aaronvg 9e8f729
bust more cache
aaronvg 94ceeb7
try bust cache again
aaronvg 30c01d3
add rustflags to ts release
aaronvg 204ffa1
more fix
aaronvg 6d365dd
final fix
aaronvg c72c2f6
cleanup
aaronvg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,7 +3,7 @@ name: Release language_client_typescript | |||||
on: | ||||||
workflow_call: {} | ||||||
push: | ||||||
branches: [sam/alpine-warnings] | ||||||
branches: [sam/alpine-warnings, aaron-fix] | ||||||
|
||||||
concurrency: | ||||||
# suffix is important to prevent a concurrency deadlock with the calling workflow | ||||||
|
@@ -57,6 +57,7 @@ jobs: | |||||
CC_x86_64_unknown_linux_musl=x86_64-linux-musl-gcc | ||||||
CXX_x86_64_unknown_linux_musl=x86_64-linux-musl-g++ | ||||||
AR_x86_64_unknown_linux_musl=x86_64-linux-musl-ar | ||||||
RUSTFLAGS=-C target-feature=-crt-static --cfg tracing_unstable | ||||||
EOF | ||||||
node_build: pnpm build:napi-release --target x86_64-unknown-linux-musl --use-napi-cross | ||||||
|
||||||
|
@@ -66,6 +67,9 @@ jobs: | |||||
curl -LO https://musl.cc/aarch64-linux-musl-cross.tgz | ||||||
tar -xzf aarch64-linux-musl-cross.tgz | ||||||
echo "$PWD/aarch64-linux-musl-cross/bin" >> $GITHUB_PATH | ||||||
cat >>$GITHUB_ENV <<EOF | ||||||
RUSTFLAGS=-C target-feature=-crt-static --cfg tracing_unstable | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
EOF | ||||||
node_build: pnpm build:napi-release --target aarch64-unknown-linux-musl --use-napi-cross | ||||||
|
||||||
name: ${{ matrix._.target }} | ||||||
|
@@ -101,7 +105,7 @@ jobs: | |||||
- name: PNPM Install | ||||||
run: pnpm install --frozen-lockfile | ||||||
working-directory: engine/language_client_typescript | ||||||
|
||||||
# per-matrix-entry dependency setup | ||||||
- name: Build tools setup | ||||||
run: ${{ matrix._.before }} | ||||||
|
@@ -110,7 +114,7 @@ jobs: | |||||
- name: PNPM Build | ||||||
run: ${{ matrix._.node_build }} | ||||||
working-directory: engine/language_client_typescript | ||||||
|
||||||
- name: Build TS | ||||||
run: pnpm build:ts_build | ||||||
working-directory: engine/language_client_typescript | ||||||
|
@@ -120,4 +124,4 @@ jobs: | |||||
with: | ||||||
name: bindings-${{ matrix._.target }} | ||||||
path: engine/language_client_typescript/*.node | ||||||
if-no-files-found: error | ||||||
if-no-files-found: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The
RUSTFLAGS
environment variable should be quoted to prevent issues with spaces or special characters in the value.