Skip to content

PYTHON-4546 Test against Python 3.13 beta (#97) #233

PYTHON-4546 Test against Python 3.13 beta (#97)

PYTHON-4546 Test against Python 3.13 beta (#97) #233

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
extra_args: --all-files --hook-stage manual
- run: |
sudo apt-get install -y cppcheck
- run: |
cppcheck src/*.*
docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- shell: pwsh
run: |
pip install sphinx
pip install -e .
python -m sphinx -b html -W doc doc/_build
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
- name: Build
run: CC=cc python setup.py build
- name: Check
run: |
CC=cc python setup.py build_ext --inplace
cd src
python -c "import winkerberos;print(winkerberos.__version__)"
windows-msvc:
runs-on: windows-latest
name: Build MSVC
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
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__)"