update PySet_GET_SIZE and similar for free-threaded Python (#6230)
#471
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Cache Warmup | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| cross-compilation-windows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.14" | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: x86_64-pc-windows-gnu,x86_64-pc-windows-msvc | |
| components: rust-src | |
| - uses: actions/cache/restore@v6 | |
| with: | |
| # https://github.com/PyO3/maturin/discussions/1953 | |
| path: ~/.cache/cargo-xwin | |
| key: cargo-xwin-cache | |
| - name: Test cross compile to Windows | |
| run: | | |
| set -ex | |
| sudo apt-get install -y mingw-w64 llvm | |
| pip install nox | |
| nox -s test-cross-compilation-windows | |
| - uses: actions/cache/save@v6 | |
| with: | |
| path: ~/.cache/cargo-xwin | |
| key: cargo-xwin-cache |