From ef4e512fa333881cb6501fad16853604f869f45d Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Fri, 29 Nov 2024 15:42:56 -0500 Subject: [PATCH 1/2] fix: use correct indent --- src/ci.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ci.rs b/src/ci.rs index 544cd40ae..26a4013be 100644 --- a/src/ci.rs +++ b/src/ci.rs @@ -389,12 +389,12 @@ jobs:\n", // build free-threaded wheel for python3.13t conf.push_str(&format!( " - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{{{ matrix.platform.target }}}} - args: --release --out dist{maturin_args} -i python3.13t - sccache: 'true' - " + uses: PyO3/maturin-action@v1 + with: + target: ${{{{ matrix.platform.target }}}} + args: --release --out dist{maturin_args} -i python3.13t + sccache: 'true' +" )); if !maturin_action_args.is_empty() { conf.push_str(&format!(" {maturin_action_args}\n")); From a371159fffafd335eac2b323baa300901fe450db Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Fri, 29 Nov 2024 15:43:57 -0500 Subject: [PATCH 2/2] test: update test cases --- src/ci.rs | 96 +++++++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/src/ci.rs b/src/ci.rs index 26a4013be..0df36724c 100644 --- a/src/ci.rs +++ b/src/ci.rs @@ -917,12 +917,12 @@ mod tests { sccache: 'true' manylinux: auto - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - manylinux: auto + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + manylinux: auto - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -955,12 +955,12 @@ mod tests { sccache: 'true' manylinux: musllinux_1_2 - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - manylinux: musllinux_1_2 + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + manylinux: musllinux_1_2 - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -989,12 +989,12 @@ mod tests { args: --release --out dist sccache: 'true' - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - - name: Upload wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + - name: Upload wheels uses: actions/upload-artifact@v4 with: name: wheels-windows-${{ matrix.platform.target }} @@ -1021,12 +1021,12 @@ mod tests { args: --release --out dist sccache: 'true' - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - - name: Upload wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + - name: Upload wheels uses: actions/upload-artifact@v4 with: name: wheels-macos-${{ matrix.platform.target }} @@ -1120,12 +1120,12 @@ mod tests { sccache: 'true' manylinux: auto - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - manylinux: auto + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + manylinux: auto - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -1158,12 +1158,12 @@ mod tests { sccache: 'true' manylinux: musllinux_1_2 - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - manylinux: musllinux_1_2 + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + manylinux: musllinux_1_2 - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -1192,12 +1192,12 @@ mod tests { args: --release --out dist sccache: 'true' - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - - name: Upload wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + - name: Upload wheels uses: actions/upload-artifact@v4 with: name: wheels-windows-${{ matrix.platform.target }} @@ -1224,12 +1224,12 @@ mod tests { args: --release --out dist sccache: 'true' - name: Build free-threaded wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t - sccache: 'true' - - name: Upload wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: 'true' + - name: Upload wheels uses: actions/upload-artifact@v4 with: name: wheels-macos-${{ matrix.platform.target }}