|
|
|
@ -87,7 +87,7 @@ jobs: |
|
|
|
|
uses: protocolbuffers/protobuf-ci/checkout@v3 |
|
|
|
|
with: |
|
|
|
|
ref: ${{ inputs.safe-checkout }} |
|
|
|
|
- name: "Setup Python" |
|
|
|
|
- name: Setup Python |
|
|
|
|
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 |
|
|
|
|
with: |
|
|
|
|
cache: pip |
|
|
|
@ -115,7 +115,7 @@ jobs: |
|
|
|
|
uses: protocolbuffers/protobuf-ci/checkout@v3 |
|
|
|
|
with: |
|
|
|
|
ref: ${{ inputs.safe-checkout }} |
|
|
|
|
- name: "Setup Python" |
|
|
|
|
- name: Setup Python |
|
|
|
|
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 |
|
|
|
|
with: |
|
|
|
|
python-version: 3.12 |
|
|
|
@ -189,13 +189,15 @@ jobs: |
|
|
|
|
# supported Python versions and assume this gives us sufficient test |
|
|
|
|
# coverage. |
|
|
|
|
- { os: ubuntu-latest, python-version: "3.8", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: macos-13, python-version: "3.8", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: macos-12, python-version: "3.8", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: ubuntu-latest, python-version: "3.12", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: macos-13, python-version: "3.12", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: ubuntu-latest, python-version: "3.8", architecture: x64, type: 'source', continuous-only: true } |
|
|
|
|
- { os: macos-13, python-version: "3.8", architecture: x64, type: 'source', continuous-only: true } |
|
|
|
|
- { os: ubuntu-latest, python-version: "3.12", architecture: x64, type: 'source', continuous-only: true } |
|
|
|
|
- { os: macos-13, python-version: "3.12", architecture: x64, type: 'source', continuous-only: true } |
|
|
|
|
- { os: ubuntu-latest, python-version: "3.13", architecture: x64, type: 'source', continuous-only: true } |
|
|
|
|
- { os: macos-13, python-version: "3.13", architecture: x64, type: 'source', continuous-only: true } |
|
|
|
|
|
|
|
|
|
# Windows uses the full API up until Python 3.10. |
|
|
|
|
- { os: windows-2019, python-version: "3.8", architecture: x86, type: 'binary', continuous-only: true } |
|
|
|
@ -203,11 +205,13 @@ jobs: |
|
|
|
|
- { os: windows-2019, python-version: "3.10", architecture: x86, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.11", architecture: x86, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.12", architecture: x86, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.13", architecture: x86, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.8", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: windows-2019, python-version: "3.9", architecture: x64, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.10", architecture: x64, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.11", architecture: x64, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.12", architecture: x64, type: 'binary' } |
|
|
|
|
- { os: windows-2019, python-version: "3.12", architecture: x64, type: 'binary', continuous-only: true } |
|
|
|
|
- { os: windows-2019, python-version: "3.13", architecture: x64, type: 'binary' } |
|
|
|
|
name: ${{ matrix.continuous-only && inputs.continuous-prefix || '' }} Test Wheels Python ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.architecture }} ${{ matrix.type }} |
|
|
|
|
needs: build_wheels |
|
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
@ -279,7 +283,7 @@ jobs: |
|
|
|
|
strategy: |
|
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
|
matrix: |
|
|
|
|
python-version: ["3.8", "3.12"] |
|
|
|
|
python-version: ["3.8", "3.13"] |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
if: ${{ github.event_name != 'pull_request_target' }} |
|
|
|
|
steps: |
|
|
|
@ -290,7 +294,7 @@ jobs: |
|
|
|
|
path: wheels |
|
|
|
|
- name: Delete Binary Wheels |
|
|
|
|
run: find wheels -type f | grep -v none-any | xargs rm |
|
|
|
|
- name: "Setup Python" |
|
|
|
|
- name: Setup Python |
|
|
|
|
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 |
|
|
|
|
with: |
|
|
|
|
python-version: ${{ matrix.python-version }} |
|
|
|
|