Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
See if Windows works
  • Loading branch information
ambv committed Oct 21, 2024
commit b795b7946ba2b45f6d8ca56c6545ccbc5800dffa
23 changes: 16 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,22 @@ jobs:
if: fromJSON(needs.check_source.outputs.run_tests)
strategy:
Comment thread
ambv marked this conversation as resolved.
matrix:
arch:
- Win32
- x64
- arm64
free-threading:
- false
- true
include:
- os: windows-latest
arch: Win32
free-threading: false
- os: windows-latest
arch: x64
free-threading: false
- os: windows-aarch64
arch: arm64
free-threading: false
- os: windows-latest
arch: x64
free-threading: true
- os: windows-aarch64
arch: arm64
free-threading: ture
uses: ./.github/workflows/reusable-windows.yml
with:
arch: ${{ matrix.arch }}
Comment thread
ambv marked this conversation as resolved.
Comment thread
ambv marked this conversation as resolved.
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/reusable-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ env:

jobs:
build:
name: >-
build${{ inputs.arch != 'arm64' && ' and test' || '' }}
(${{ inputs.arch }})
runs-on: windows-latest
name: 'build and test'
runs-on: ${{ matrix.os }}
Comment thread
ambv marked this conversation as resolved.
Outdated
Comment thread
ambv marked this conversation as resolved.
Outdated
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -36,10 +34,8 @@ jobs:
-p ${{ inputs.arch }}
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
- name: Display build info
if: inputs.arch != 'arm64'
run: .\python.bat -m test.pythoninfo
- name: Tests
if: inputs.arch != 'arm64'
run: >-
.\PCbuild\rt.bat
-p ${{ inputs.arch }}
Expand Down