-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat(ci): Remove cross compilation in CI, update sentry-native #4427
Conversation
451f1fe
to
39e27ac
Compare
.github/workflows/ci.yml
Outdated
@@ -202,16 +202,19 @@ jobs: | |||
echo "Running full CI" | |||
echo 'image_names=["relay", "relay-pop"]' >> $GITHUB_OUTPUT | |||
echo 'targets=["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]' >> $GITHUB_OUTPUT | |||
echo 'runners=["ubuntu-20.04", "ubuntu-22.04-arm64-relay"]' >> $GITHUB_OUTPUT |
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.
This seems to be unused?
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.
Good catch! Slipped through
@@ -301,7 +305,7 @@ jobs: | |||
image_name: ${{ fromJson(needs.build-setup.outputs.image_names) }} | |||
|
|||
env: | |||
PLATFORMS: "${{ join(fromJSON(needs.build-setup.outputs.platforms), ',') }}" | |||
PLATFORMS: "${{ join(fromJson(needs.build-setup.outputs.platforms), ',') }}" |
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.
According to the docs it needs to uppercase I think? https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#fromjson
But seems to work 🤷
This PR fixes the CI build, which began failing due to actions/runner-images#10636.
The fix involves updating the
sentry-native
submodule and replacing cross-compilation with regular compilation on each runner that matches the architecture being used for compilation.Closes: #3943