Repository navigation
ci: drop Intel macOS packages and cover native Windows builds - #107
Merged
Merged
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Intel macOS is no longer a supported C platform. This removes
darwin-amd64from 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 forv*release tags and explicitworkflow_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-2025MSVC Debug job builds withBUILD_CONSUMER_TEST=ONand runs both the strict C17 consumer and the real C++ package consumer. Both use oneENVIRONMENT_MODIFICATIONPATH entry based onRUST_TARGET_DIR, while MSVC links throughlancedb.dll.lib. The job is the only Windows native build job.Validation
python3 .github/scripts/test_package.py(22/22), including release: derive C version from Git tags for v0.1.0-preview.1 #91 version/tag cases, matrix consistency, tag/dispatch trigger policy and Intel rejection.actionlintpass onci.yml,coverage.ymlandpackages.yml.BUILD_CONSUMER_TEST=ONcontainslancedb_c17_consumerandpackage_consumer; the C17 compile command keeps-std=c17 -Wall -Wextra -Werror -pedantic, and the ordinary Linux C++ consumer link path remainstarget/debug/liblancedb.so.tag object != peeled commit == HEAD, validates0.1.0-preview.1, and rejects a tag on a parent commit.CMAKE_OSX_ARCHITECTURES=arm64and an Apple Silicon Rust target configures; actual Intel output is rejected.contents: read, push/pull-request concurrency groups and C17--no-tests=errorpath are preserved. table: bind configurable optimize actions and their statistics #106 tests and release: derive C version from Git tags for v0.1.0-preview.1 #91 metadata are preserved.Package script checks, docs and Dependabot pass; native MSVC C/C++ CTest and the remaining build jobs are pending. build: consolidate Cargo workspace and pin Rust toolchain #109 is not merged, so its pinned Rust toolchain and package selection are not imported.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.