build: Adds native Meson build system support#245
Merged
Conversation
3 tasks
Introduces a new GitHub Actions workflow to validate the native Meson build system support. It builds and tests both static and shared library configurations on Linux and macOS.
This enhances discoverability and provides convenient access to the project's repository for downstream consumers.
Separates the Meson build and test job from the `build.yml` workflow into its own dedicated `meson.yml` file. This improves CI organization and maintainability by dedicating a specific workflow to Meson build validation.
The `disable_simd` option has been removed as SIMD variant selection is now handled implicitly based on the host CPU. This simplifies the build configuration by always enabling available SIMD paths where supported. The CI workflow for Meson builds has been updated to include a `Linux ARM64` job, replacing the previous `macOS ARM64` configuration to reflect current testing priorities.
Introduce a `build_cli` Meson option to explicitly control whether the command-line interface (CLI) is built. This option defaults to `false`, allowing users to build only the library if the CLI is not needed.
Introduces a 'build_cli' Meson option, defaulting to 'false', to allow users to build only the library without the command-line interface executable. The dedicated Meson build workflow (.github/workflows/meson.yml) has been merged into .github/workflows/multicomp.yml. This improves CI organization and centralizes build system compatibility checks. The 'multicomp.yml' workflow name is updated to reflect its broader scope.
379da3e to
d8364eb
Compare
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.
Introduces comprehensive Meson build system support for the
zxclibrary.Summary
Provides an alternative, modern build system for projects that prefer Meson, particularly facilitating
zxc's use as a subproject, and integrates continuous integration to validate its reliability.Key Features
zxcto be built usingmeson.buildfor both standalone projects and as a subproject.zxcas a Meson subproject, simplifying integration for other Meson-based projects.