This commit is contained in:
Aparna Jyothi 2025-06-10 17:29:47 +05:30
parent 1ab3383e4f
commit 550be3670a

View file

@ -94,36 +94,54 @@ 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:
name: Verify Install Path (${{ matrix.os }}, ${{ matrix.arch }}, ${{ matrix.python }}, ${{ matrix.freethreaded }}) verify-install-path:
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]
arch: [x64, arm64] architecture: [x64, x86, arm64]
python: [3.9, 3.10, 3.11, 3.12] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13.1']
freethreaded: [true, false] freethreaded: ['false', 'true']
exclude: exclude:
- architecture: x64
freethreaded: 'true'
- python-version: '3.9'
freethreaded: 'true'
- python-version: '3.10'
freethreaded: 'true'
- python-version: '3.11'
freethreaded: 'true'
- python-version: '3.12'
freethreaded: 'true'
- os: windows-latest - os: windows-latest
arch: arm64 architecture: arm64
- os: windows-latest python-version: 3.12
python: 3.12
arch: arm64
freethreaded: false freethreaded: false
- os: windows-11-arm - os: windows-11-arm
arch: arm64 architecture: arm64
python: 3.9 python-version: 3.9
freethreaded: false freethreaded: false
- os: windows-11-arm - os: windows-11-arm
arch: arm64 architecture: arm64
python: 3.10 python-version: 3.10
freethreaded: false freethreaded: false
- os: windows-11-arm fail-fast: false
arch: x64 # prevent accidental mix
steps:
- uses: actions/checkout@v4
- name: Verify Windows Install Path
shell: pwsh
run: python __tests__/verify_windows_install_path.py ${{ matrix.arch }} ${{ matrix.freethreaded }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: ./
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
freethreaded: ${{ matrix.freethreaded }}
- name: Verify Install Path
shell: pwsh
run: python __tests__/verify-windows-install-path.py ``
-arch ${{ matrix.architecture }} `
-freethreaded ${{ matrix.freethreaded }} `