Skip to content

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


- 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
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