This commit is contained in:
Aparna Jyothi 2025-06-10 14:28:44 +05:30
parent 6a1a4482ac
commit 1ab3383e4f

View file

@ -94,42 +94,36 @@ jobs:
run: | run: |
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty
shell: bash shell: bash
verify-windows-install-path:
verify-install-path: name: Verify Install Path (${{ matrix.os }}, ${{ matrix.arch }}, ${{ matrix.python }}, ${{ matrix.freethreaded }})
name: Verify Install Path runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os }} strategy:
strategy: fail-fast: false
matrix: matrix:
os: [windows-latest, windows-11-arm] os: [windows-latest, windows-11-arm]
architecture: [x64, x86, arm64] arch: [x64, arm64]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13.1'] python: [3.9, 3.10, 3.11, 3.12]
freethreaded: ['false', 'true'] freethreaded: [true, false]
exclude: exclude:
- architecture: x64 - os: windows-latest
freethreaded: 'true' arch: arm64
- python-version: '3.9' - os: windows-latest
freethreaded: 'true' python: 3.12
- python-version: '3.10' arch: arm64
freethreaded: 'true' freethreaded: false
- python-version: '3.11' - os: windows-11-arm
freethreaded: 'true' arch: arm64
- python-version: '3.12' python: 3.9
freethreaded: 'true' freethreaded: false
fail-fast: false - os: windows-11-arm
arch: arm64
steps: python: 3.10
- name: Checkout code freethreaded: false
uses: actions/checkout@v4 - os: windows-11-arm
arch: x64 # prevent accidental mix
- name: Set up Python steps:
uses: ./ - uses: actions/checkout@v4
with: - name: Verify Windows Install Path
python-version: ${{ matrix.python-version }} shell: pwsh
architecture: ${{ matrix.architecture }} run: python __tests__/verify_windows_install_path.py ${{ matrix.arch }} ${{ matrix.freethreaded }}
freethreaded: ${{ matrix.freethreaded }}
- name: Verify Install Path
shell: pwsh
run: python __tests__/verify-windows-install-path.py ``
-arch ${{ matrix.architecture }} `
-freethreaded ${{ matrix.freethreaded }} `