Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# Build only sift_cli with `--package` instead of the whole workspace. The
# workspace build compiles sift_stream_bindings (pyo3), which is not part of
# the CLI release and fails to link when the apple target is cross-compiled.
precise-builds = true
Comment on lines +20 to +23

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

is this correct?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I found the docs on precise-builds and it seems like it probably will result in smaller builds based on this description. But the docs on github-custom-runners don't seem to show options for runner and host, but maybe they just aren't documented well?

# Extra CI steps injected into the build job before `dist build`.
# sift_cli's build.rs invokes `mdbook build`, so mdbook must be on PATH.
github-build-setup = "includes/build-setup.yml"

# Build the Intel macOS binary on an arm64 runner. The M-series runners are
# much faster than the Intel `macos-*-intel` pool, and Rosetta 2 runs any
# x86_64 build-time helper binaries.
[dist.github-custom-runners.x86_64-apple-darwin]
runner = "macos-15"
host = "aarch64-apple-darwin"
Loading