Skip to content

Commit 757f6d5

Browse files
committed
ci: fix macos and windows
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 3938fd1 commit 757f6d5

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/cibuildwheel.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ jobs:
5454
run: |
5555
echo "VCPKG_INSTALLATION_ROOT=$VCPKG_INSTALLATION_ROOT"
5656
echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV
57-
echo "CMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
57+
echo "CMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" >> $GITHUB_ENV
58+
59+
- name: Setup deps (Windows)
60+
if: runner.os == 'Windows'
61+
run: |
62+
vcpkg install pkgconf vcpkg-cmake vcpkg-cmake-config libgd
63+
5864
- uses: astral-sh/setup-uv@v6
5965

6066
- uses: pypa/cibuildwheel@v3.0

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ skip = ["*musl*"]
5353
linux.before-all = [
5454
"dnf install -y gd-devel",
5555
]
56-
windows.before-all = [
57-
"vcpkg install pkgconf",
58-
"vcpkg install libgd",
59-
"vcpkg install vcpkg-cmake",
60-
"vcpkg install vcpkg-cmake-config",
61-
]
6256
macos.config-settings = { "cmake.define.BUILD_DEPS" = "ON"}
63-
57+
macos.environment.MACOSX_DEPLOYMENT_TARGET = "10.13"
6458

0 commit comments

Comments
 (0)