Skip to content

Commit 8386dc3

Browse files
committed
Attempt to get Windows wheel working
1 parent fa124dc commit 8386dc3

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,21 +146,34 @@ jobs:
146146
pyenv: cp36
147147

148148
steps:
149-
- name: Check out code
150-
uses: actions/checkout@v2
151-
152149
- name: Set up environment
150+
run: >-
151+
choco.exe install --no-progress --yes --ignore-detected-reboot --allow-downgrade
152+
--install-arguments "'ADDLOCAL=ALL'"
153+
${{ matrix.arch == 'win32' && '--x86' || '' }}
154+
mitkerberos
155+
156+
- name: Download sdist
157+
uses: actions/download-artifact@v2
158+
with:
159+
name: artifact
160+
path: ./
161+
162+
- name: Extract sdist
153163
shell: bash
154-
run: ./ci/build.sh
155-
env:
156-
OS_NAME: windows
164+
run: |
165+
tar xf gssapi-*.tar.gz
166+
mv gssapi-*/* .
167+
rm -r gssapi-*/
168+
rm gssapi-*.tar.gz
157169
158170
- name: Build wheel
159171
uses: pypa/[email protected]
160172
env:
161173
CIBW_ARCHS: all
162174
CIBW_BUILD: ${{ matrix.pyenv }}-${{ matrix.arch }}
163175
CIBW_BUILD_VERBOSITY: 1
176+
PATH: C:\Program Files${{ matrix.arch == 'win32' && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH
164177

165178
- name: Upload wheel
166179
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)