Skip to content

PYTHON-3881 [WinKerberos] Support Python 3.7-3.12 #55

PYTHON-3881 [WinKerberos] Support Python 3.7-3.12

PYTHON-3881 [WinKerberos] Support Python 3.7-3.12 #55

Workflow file for this run

name: Build
on: [push, pull_request]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- shell: pwsh
run: |
cd doc
pip install sphinx
cmd.exe /c 'make.bat html SPHINXOPTS="-W"'
windows-msys2:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
msystem: [MINGW64, MINGW32, UCRT64, CLANG64]
name: Build (${{ matrix.msystem }})
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
update: true
pacboy: cc:p python:p python-setuptools:p python-sphinx:p python-pip:p
- name: Check
run: |
export CC=cc
pip install -e .
python -c "import winkerberos;print(winkerberos.__version__)"
windows-msvc:
runs-on: windows-latest
name: Build MSVC
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Check
run: |
pip install -e .
python -c "import winkerberos;print(winkerberos.__version__)"