From e929ed7aeff966664f4584400c4372b964653c9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 30 Jun 2026 08:04:22 +0000 Subject: [PATCH 1/3] Set explicit Boost env vars on Windows CI --- .github/workflows/ci-windows.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 18c38b4..74d7439 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -127,6 +127,28 @@ jobs: cd .. #rm -rv boost* + - name: configure boost environment for meson + shell: pwsh + run: | + $boostRoot = 'C:\Boost' + if (-not (Test-Path $boostRoot)) { + throw "Boost root directory '$boostRoot' does not exist." + } + + $boostIncludeDir = Get-ChildItem -Path (Join-Path $boostRoot 'include') -Directory -Filter 'boost-*' | Select-Object -First 1 + if ($null -eq $boostIncludeDir) { + throw "No versioned Boost include directory found in '$boostRoot\\include'." + } + + $boostLibraryDir = Join-Path $boostRoot 'lib' + if (-not (Test-Path $boostLibraryDir)) { + throw "Boost library directory '$boostLibraryDir' does not exist." + } + + "BOOST_ROOT=$boostRoot" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + "BOOST_INCLUDEDIR=$($boostIncludeDir.FullName)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + "BOOST_LIBRARYDIR=$boostLibraryDir" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + - name: install dependencies (meson & python) run: pip install meson meson-python pytest numpy #run: pip install meson meson-python pytest numpy ninja From 2ca3d8f4aa2a3a54c38beea9f7206111d5f732c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 30 Jun 2026 09:12:52 +0000 Subject: [PATCH 2/3] Ensure Boost headers are cached on windows cache miss --- .github/workflows/ci-windows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 74d7439..eca522b 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -124,6 +124,8 @@ jobs: cd .\boost_${{matrix.boost-version_}}\ .\bootstrap.bat ${{matrix.toolset}} .\b2.exe install --variant=release --threading=multi --link=static ${{matrix.boost-modules}} + New-Item -ItemType Directory -Path C:\Boost\include\boost_${{matrix.boost-version_}} -Force | Out-Null + Copy-Item -Path .\boost -Destination C:\Boost\include\boost_${{matrix.boost-version_}}\boost -Recurse -Force cd .. #rm -rv boost* From 68c6515a18c82d246900d11fbe5aeaed9b69f72d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 30 Jun 2026 09:13:46 +0000 Subject: [PATCH 3/3] Copy Boost headers into cached include directory --- .github/workflows/ci-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index eca522b..203eb75 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -125,7 +125,7 @@ jobs: .\bootstrap.bat ${{matrix.toolset}} .\b2.exe install --variant=release --threading=multi --link=static ${{matrix.boost-modules}} New-Item -ItemType Directory -Path C:\Boost\include\boost_${{matrix.boost-version_}} -Force | Out-Null - Copy-Item -Path .\boost -Destination C:\Boost\include\boost_${{matrix.boost-version_}}\boost -Recurse -Force + Copy-Item -Path .\boost -Destination C:\Boost\include\boost_${{matrix.boost-version_}} -Recurse -Force cd .. #rm -rv boost*