Skip to content

Commit

Permalink
Add mingw64 system test
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed May 17, 2024
1 parent ed91b1d commit a4bb235
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,41 @@ jobs:
- name: "Validate global Python install"
run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe

system-test-windows-mingw64:
needs: build-binary-windows
name: "check system | mingw64 on windows"
runs-on: windows-latest
env:
# Avoid debug build stack overflows.
UV_STACK_SIZE: 2000000 # 2 megabyte, double the default on windows
steps:
- uses: actions/checkout@v4

# See: https://github.com/scikit-build/scikit-build-core/blob/86f40d949741d8e6ce4d9f55264a6d05224408dd/.github/workflows/ci.yml#L251
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
path-type: minimal
update: true
install: >-
base-devel git
pacboy: >-
python:p python-pip:p gcc:p cmake:p
- name: "Download binary"
uses: actions/download-artifact@v4
with:
name: uv-windows-${{ github.sha }}

- name: "Print Python path"
run: python -c "import sys; print(sys.executable)"
shell: msys2 {0}


- name: "Validate global Python install"
run: python ./scripts/check_system_python.py --uv ./uv.exe
shell: msys2 {0}

system-test-choco:
needs: build-binary-windows
name: "check system | python3.12 via chocolatey"
Expand Down

0 comments on commit a4bb235

Please sign in to comment.