diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5eeaa2..e026182 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Largely references https://github.com/pydantic/pydantic-core/blob/193f5d7a8627c988b1c7fab9a3712c779afbbe94/.github/workflows/ci.yml +# Largely references https://github.com/pydantic/pydantic-core/blob/be87e05d70afafb7aacc0bb9371ecb4c6ab7e5be/.github/workflows/ci.yml name: CI @@ -81,6 +81,9 @@ jobs: - os: linux manylinux: musllinux_1_1 target: aarch64 + - os: linux + manylinux: musllinux_1_1 + target: armv7 # macos - os: macos @@ -95,6 +98,11 @@ jobs: target: aarch64 interpreter: 3.11 3.12 3.13 + exclude: + # Disabled for now. + - os: windows + target: aarch64 + runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest steps: @@ -104,10 +112,10 @@ jobs: - name: Set up python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' architecture: x64 - - run: pip install -U twine 'ruff==0.1.3' typing_extensions + - run: pip install -U twine 'ruff==0.5.0' typing_extensions - name: Build wheels uses: PyO3/maturin-action@v1 @@ -115,9 +123,10 @@ jobs: target: ${{ matrix.target }} manylinux: ${{ matrix.manylinux }} args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }} - rust-toolchain: 1.77.0 + rust-toolchain: ${{ (matrix.os == 'windows' && '1.77') || 'stable' }} docker-options: -e CI - sccache: true + + - run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/ - run: twine check --strict dist/* @@ -195,7 +204,7 @@ jobs: - name: Set up python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' - name: Get artifacts uses: actions/download-artifact@v4 @@ -222,7 +231,7 @@ jobs: - name: Set up python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.13' - run: pip install -U twine