Skip to content

ci: drop Intel macOS packages and cover native Windows builds - #107

Merged
Xuanwo merged 5 commits into
mainfrom
xuanwo/drop-intel-macos-and-ci
Nov 21, 2026
Merged

Xuanwo merged 5 commits into
mainfrom
xuanwo/drop-intel-macos-and-ci

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Intel macOS is no longer a supported C platform. This removes darwin-amd64 from packaging, rejects actual Intel or universal macOS output in CMake, and documents Linux amd64/arm64, Windows amd64/arm64 and Apple Silicon.

The branch now integrates #91 tag-derived versioning and #108 strict C17/workflow hardening on current main. The five-platform package matrix runs only for v* release tags and explicit workflow_dispatch, verifies the selected tag object and peeled commit, and passes that explicit commit plus the tag-derived version into package creation, the manifest and consumer verification. Pull requests keep only the fast packaging fixtures in CI.

The native windows-2025 MSVC Debug job builds with BUILD_CONSUMER_TEST=ON and runs both the strict C17 consumer and the real C++ package consumer. Both use one ENVIRONMENT_MODIFICATION PATH entry based on RUST_TARGET_DIR, while MSVC links through lancedb.dll.lib. The job is the only Windows native build job.

Validation

Coordination

#91 has landed and its version/provenance behavior is preserved. #97 publication remains separate. No release writes, tags, dispatch, merge or watch are performed here.

Publish the shared-library matrix only for v* release tags and explicit dispatch, and keep the fast packaging fixtures on pull requests through CI. Build and run the package consumer with an MSVC Debug build on windows-2025 so the native Windows contract is covered. Reject Intel macOS in CMake and packaging, keep the five supported native targets, and align the package matrix test and docs.
Add read-only workflow permissions and disable checkout credentials for jobs that only read. Select GNU-style C++ flags only for GNU-style compilers so cl.exe no longer receives -Wextra, and let CTest prepend the Rust target directory to PATH for the Windows consumer.

Honor an explicit arm64 CMAKE_OSX_ARCHITECTURES on any host, reject Intel or universal output, keep the compiler and Rust target aligned, and fall back to the detected host target when no architecture is set.
Integrate #91 tag-derived versioning and provenance with the five-platform package workflow. Keep package archives on v* tags and explicit dispatch, the strict selected-tag object and peeled-commit checks, the Windows native MSVC Debug consumer, Apple Silicon target policy, fast PR package fixtures, and read-only workflow token.
Integrate #108 strict C17 checks and workflow hardening alongside the native Windows C and C++ consumer build. Keep one test PATH mechanism based on RUST_TARGET_DIR, the MSVC lancedb.dll.lib import path, five release-tag/dispatch package targets, and #91 exact tag provenance.
Run the C17 and C++ CTest checks in separate PWsh steps so a failing C17 consumer cannot be masked by a later successful command. Each step targets one anchored test name and uses --no-tests=error.
@Xuanwo
Xuanwo merged commit 1ab2c3b into main Nov 21, 2026
10 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.

1 participant