Skip to content

Commit d0c6c57

Browse files
committed
ci: update distutils for macos Python
1 parent 82b838d commit d0c6c57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
with:
9494
vcvarsall: ${{ contains(matrix.os, 'windows') }}
9595
cmake: true
96+
python: true
9697
architecture: ${{ matrix.cpp_arch }}
9798

9899
- uses: pnpm/[email protected]
@@ -112,6 +113,7 @@ jobs:
112113
if: ${{ contains(matrix.os, 'macos') && matrix.ARCH == 'x86_64' }}
113114
run: |
114115
brew install libsodium gnutls
116+
python -m pip install distutils
115117
116118
- name: Install Mac-OS arm64 Dependencies
117119
if: ${{ contains(matrix.os, 'macos') && matrix.ARCH == 'arm64' }}
@@ -121,6 +123,7 @@ jobs:
121123
echo "PATH=$PATH" >> $GITHUB_ENV
122124
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
123125
echo "npm_config_target_arch=$npm_config_target_arch" >> $GITHUB_ENV
126+
python -m pip install distutils
124127
125128
- name: Install Dependencies and Build
126129
if: ${{ !matrix.docker }}

0 commit comments

Comments
 (0)