Add an integration test and debug issues with the meson backend (#2718)

* Add an integration test with the meson backend

* Modify script to allow testing of the GHA action on a PR

* Try adding cython to languages in meson config

* Revert "Try adding cython to languages in meson config"

This reverts commit 50378a1c7e38665492ad0c683b178e4d96928e1e.

* Pass --vsenv to meson on windows

As seen here https://github.com/matplotlib/matplotlib/blob/9957c394bd01deb7a9bd9cb27804f447a52dc522/.github/workflows/cibuildwheel.yml#L114

* Disable win32 builds for the meson test

* Move the windows-specific config into the test project definition

This is so it can be tested with bin/run_example_ci_configs.py

* Add some docs to the FAQ about meson on windows

* Update bin/run_example_ci_configs.py

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>

---------

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
Joe Rickerby
2026-02-08 10:36:47 +00:00
committed by GitHub
co-authored by Henry Schreiner
parent 0d2547bf6f
commit a2f965f62f
8 changed files with 194 additions and 81 deletions
+2 -3
View File
@@ -2,8 +2,7 @@ import subprocess
import pytest
from . import utils
from .test_projects.c import new_c_project
from . import test_projects, utils
@pytest.mark.parametrize(
@@ -14,7 +13,7 @@ from .test_projects.c import new_c_project
],
)
def test_build_frontend_args(tmp_path, capfd, frontend_name):
project = new_c_project()
project = test_projects.new_c_project()
project_dir = tmp_path / "project"
project.generate(project_dir)