-
Notifications
You must be signed in to change notification settings - Fork 45
Fix Tauri app builds for x86_64 Mac #888
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 Tauri app builds for x86_64 Mac #888
Conversation
✅ Deploy Preview for typedb-studio ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
git rev-parse HEAD > VERSION | ||
bazel run --define version=$(git rev-parse HEAD) //:deploy-mac-<<parameters.target-arch>>-dmg -- snapshot |
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.
git rev-parse HEAD > VERSION
wouldn't be needed, but i can't get --define version=$(git rev-parse HEAD)
to work for whatever reason.
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.
In that case presumably we don't need --define version=$(git rev-parse HEAD) here?
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.
.
Release notes: product changes
Fix the build pipeline so Mac x86_64 builds are actually built for the x86_64 architecture. They were previously being built targeting the arm64 architecture (the native architecture of the CircleCI executor)
Motivation
Support mac x86_64
Implementation
Plumbing around adding
--target x86_64-apple-darwin
tonpx tauri build
Green run for snapshot deployments: https://app.circleci.com/pipelines/github/typedb/typedb-studio/1966/workflows/b614b09a-ba5d-467b-b1b5-51628a4dc6c2