Fix python.yml and add Python 3.12 builds
This commit is contained in:
@@ -36,34 +36,39 @@ jobs:
|
||||
|
||||
# OSX py builds
|
||||
- name: osx 3.6 intel
|
||||
os: macos-latest
|
||||
os: macos-13
|
||||
python: "3.6"
|
||||
piparch: macosx_10_9_intel
|
||||
|
||||
- name: osx 3.7 intel
|
||||
os: macos-latest
|
||||
os: macos-13
|
||||
python: "3.7"
|
||||
piparch: macosx_10_9_intel
|
||||
|
||||
- name: osx 3.8 intel
|
||||
- name: osx 3.8 arm64
|
||||
os: macos-latest
|
||||
python: "3.8"
|
||||
piparch: macosx_10_9_intel
|
||||
piparch: macosx_11_0_arm64
|
||||
|
||||
- name: osx 3.9 intel
|
||||
- name: osx 3.9 arm64
|
||||
os: macos-latest
|
||||
python: "3.9"
|
||||
piparch: macosx_10_9_intel
|
||||
piparch: macosx_11_0_arm64
|
||||
|
||||
- name: osx 3.10 intel
|
||||
- name: osx 3.10 arm64
|
||||
os: macos-latest
|
||||
python: "3.10"
|
||||
piparch: macosx_10_10_intel
|
||||
piparch: macosx_11_0_arm64
|
||||
|
||||
- name: osx 3.11 intel
|
||||
- name: osx 3.11 arm64
|
||||
os: macos-latest
|
||||
python: "3.11"
|
||||
piparch: macosx_10_10_intel
|
||||
piparch: macosx_11_0_arm64
|
||||
|
||||
- name: osx 3.12 arm64
|
||||
os: macos-latest
|
||||
python: "3.12"
|
||||
piparch: macosx_11_0_arm64
|
||||
|
||||
# Windows py builds
|
||||
|
||||
@@ -73,7 +78,7 @@ jobs:
|
||||
# piparch: win_amd64
|
||||
|
||||
- name: win64 3.5
|
||||
os: windows-latest
|
||||
os: windows-2019
|
||||
python: "3.5"
|
||||
piparch: win_amd64
|
||||
|
||||
@@ -107,6 +112,11 @@ jobs:
|
||||
python: "3.11"
|
||||
piparch: win_amd64
|
||||
|
||||
- name: win64 3.12
|
||||
os: windows-latest
|
||||
python: "3.12"
|
||||
piparch: win_amd64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -114,14 +124,19 @@ jobs:
|
||||
- name: Automatic core dumper analysis
|
||||
uses: mdavidsaver/ci-core-dumper@master
|
||||
|
||||
|
||||
- name: Setup native python
|
||||
if: matrix.python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
#architecture: x64
|
||||
|
||||
# TLS 1.0 and 1.1 support was removed from pypi so the cached pip won't work
|
||||
- name: Python 3.5 Fix
|
||||
if: ${{ matrix.python == '3.5' }}
|
||||
run: |
|
||||
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python
|
||||
|
||||
- name: Prepare
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -246,6 +261,12 @@ jobs:
|
||||
manylinux: manylinux2014
|
||||
arch: x86_64
|
||||
|
||||
- name: linux 3.12 amd64
|
||||
os: ubuntu-latest
|
||||
pyver: cp312-cp312
|
||||
manylinux: manylinux2014
|
||||
arch: x86_64
|
||||
|
||||
# Linux py builds x32
|
||||
- name: linux 2.7 i686
|
||||
pyver: cp27-cp27m
|
||||
@@ -301,7 +322,7 @@ jobs:
|
||||
submodules: recursive
|
||||
|
||||
- name: Setup native python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python || '3.7' }}
|
||||
#architecture: x64
|
||||
|
||||
Reference in New Issue
Block a user