Skip to content
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

Fix macOS build #225

Merged
merged 4 commits into from
Sep 7, 2024
Merged

Fix macOS build #225

merged 4 commits into from
Sep 7, 2024

Conversation

L00Cyph3r
Copy link
Contributor

I encountered some issue while trying to build the macOS package locally, which worked fine before.
Changes are quite minimal, feel free to suggest changes though if you see fit.
Tested the build on my fork, you can find the output here: https://github.com/L00Cyph3r/TrguiNG/actions/runs/10668466290

@@ -62,6 +62,10 @@ jobs:
if: matrix.platform.rust_target == 'aarch64-apple-darwin'
run: rustup target add aarch64-apple-darwin

- name: "Setup Rust"
if: matrix.platform.rust_target == 'x86_64-apple-darwin'
run: rustup target add x86_64-apple-darwin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this does something? Isn't that the default arch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late response, must have missed a notification somehwere. But I added this because I believe the default has changed for runners. At least in this action output it says: failed to build app: Target x86_64-apple-darwin is not installed (installed targets: aarch64-apple-darwin).. So just to be sure we have build-targets available independent of which host-architecture we run on, I added the second action.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, rust probably changed which arch supports gets installed by default on arm macs.
Thanks.

@qu1ck qu1ck merged commit 14caf62 into openscopeproject:master Sep 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants