From f11618c0756a30ea8111849d403a474f1ae8a95f Mon Sep 17 00:00:00 2001 From: Stephen G Tuggy Date: Thu, 4 Jun 2026 00:15:55 +0000 Subject: [PATCH 1/4] Create vcpkg.json --- vcpkg.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vcpkg.json diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 000000000..1d2d001f7 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", + "name": "boost-python", + "version-string": "1.91.0", + "builtin-baseline": "d015e31e90838a4c9dfa3eed45979bc70d9357fc", + "dependencies": [ + "boost-config", + "boost-core", + "boost-function", + "boost-graph", + "boost-iterator", + "boost-lexical-cast", + "boost-mpl", + "boost-preprocessor", + "boost-smart-ptr", + "boost-static-assert", + "boost-align", + "python3" + ] +} From 8638eea1e17592306c0c84c3fa845f61571ed136 Mon Sep 17 00:00:00 2001 From: Stephen G Tuggy Date: Thu, 4 Jun 2026 00:28:44 +0000 Subject: [PATCH 2/4] Update test-windows.yml --- .github/workflows/test-windows.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 576e1f441..1f95821cb 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -10,6 +10,10 @@ jobs: matrix: python-version: [3.7] + env: + VCPKG_DEFAULT_TRIPLET: 'x64-windows' + VCPKG_DEFAULT_HOST_TRIPLET: 'x64-windows' + steps: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 @@ -17,23 +21,10 @@ jobs: python-version: ${{ matrix.python-version }} - uses: microsoft/setup-msbuild@v2 - name: setup boost prerequisites - uses: lukka/run-vcpkg@v6 + uses: lukka/run-vcpkg@b1a0dd252f06b9e25b3c022a9a03bd7a427fb6a2 # v11.6 with: - vcpkgGitCommitId: '88b1071e39f13b632644d9d953738d345a4ac055' - vcpkgDirectory: '${{ runner.workspace }}/vcpkg' - vcpkgTriplet: x64-windows - vcpkgArguments: > - boost-config - boost-core - boost-function - boost-graph - boost-iterator - boost-lexical-cast - boost-mpl - boost-preprocessor - boost-smart-ptr - boost-static-assert - boost-align + vcpkgDirectory: '${{ github.workspace }}/vcpkg' + runVcpkgInstall: true - name: setup faber run: | python -m pip install --upgrade pip From c77ed5db4d26d02ab0cf144cea266f65234e784c Mon Sep 17 00:00:00 2001 From: Stephen G Tuggy Date: Wed, 17 Jun 2026 19:05:48 +0000 Subject: [PATCH 3/4] Update test-windows.yml: Fix the `--with-boost-include` directory passed to the `faber` commands --- .github/workflows/test-windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 1f95821cb..639fe65d5 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -33,8 +33,8 @@ jobs: - name: build shell: cmd run: | - faber --builddir=build cxx.name=msvc --log=commands --log=output --with-boost-include=${{ runner.workspace }}\vcpkg\installed\x64-windows\include -j4 + faber --builddir=build cxx.name=msvc --log=commands --log=output --with-boost-include=${{ github.workspace }}\vcpkg\installed\x64-windows\include -j4 - name: test shell: cmd run: | - faber --builddir=build cxx.name=msvc --with-boost-include=${{ runner.workspace }}\vcpkg\installed\x64-windows\include -j4 test.report + faber --builddir=build cxx.name=msvc --with-boost-include=${{ github.workspace }}\vcpkg\installed\x64-windows\include -j4 test.report From 210231aaad3a4deb0c40e4cd7bc5389bbd486fae Mon Sep 17 00:00:00 2001 From: Stephen G Tuggy Date: Wed, 17 Jun 2026 15:26:35 -0700 Subject: [PATCH 4/4] List vcpkg directory contents, looking for config.hpp --- .github/workflows/test-windows.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 639fe65d5..35bfe79d6 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -25,6 +25,9 @@ jobs: with: vcpkgDirectory: '${{ github.workspace }}/vcpkg' runVcpkgInstall: true + - name: List directory contents + run: Get-ChildItem "${{ github.workspace }}/vcpkg" -Recurse -Force -File -Filter 'config.hpp' + shell: pwsh - name: setup faber run: | python -m pip install --upgrade pip