diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc201379554d..b5142afc637c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -346,22 +346,33 @@ jobs: - uses: ./.github/actions/upload-coverage windows: - runs-on: windows-latest + runs-on: ${{ matrix.WINDOWS.RUNNER }} strategy: fail-fast: false matrix: WINDOWS: - - {ARCH: 'x86', WINDOWS: 'win32'} - - {ARCH: 'x64', WINDOWS: 'win64'} + - {ARCH: 'x86', WINDOWS: 'win32', RUNNER: 'windows-latest'} + - {ARCH: 'x64', WINDOWS: 'win64', RUNNER: 'windows-latest'} + - {ARCH: 'arm64', WINDOWS: 'arm64', RUNNER: 'windows-11-arm'} PYTHON: - {VERSION: "3.8", NOXSESSION: "tests-nocoverage"} - {VERSION: "3.13", NOXSESSION: "tests"} + exclude: + - PYTHON: {VERSION: "3.8", NOXSESSION: "tests-nocoverage"} + WINDOWS: {ARCH: 'arm64', WINDOWS: 'arm64', RUNNER: 'windows-11-arm'} timeout-minutes: 15 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 timeout-minutes: 3 with: persist-credentials: false + - name: Try upgrading vs oh god + run: | + choco install visualstudio2022buildtools + "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" arm64 + cl.exe + shell: cmd + if: matrix.WINDOWS.ARCH == 'arm64' - name: Setup python id: setup-python uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0