From edc0d3e8aa8fad236876dc0a4e0c76e19f12bd7a Mon Sep 17 00:00:00 2001 From: Matt Hammerly Date: Wed, 25 Sep 2024 14:08:43 -0700 Subject: [PATCH] get maturin ci passing completely --- .github/workflows/publish.yml | 5 +++++ test_utils/fixtures/pyreport/.gitattributes | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 test_utils/fixtures/pyreport/.gitattributes diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0002293..1becb17 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,7 @@ # - add "packages: write" permission for uraimo/run-on-arch-action caching # - remove unnecessary target platforms # - make run-on-arch-action use deadsnakes Python 3.12 +# - hardcode maturin version v1.7.1 because of a bug name: CI on: @@ -44,6 +45,7 @@ jobs: args: --release --out dist sccache: 'true' manylinux: auto + maturin-version: 'v1.7.1' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -105,6 +107,7 @@ jobs: args: --release --out dist sccache: 'true' manylinux: musllinux_1_2 + maturin-version: 'v1.7.1' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -162,6 +165,7 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist sccache: 'true' + maturin-version: 'v1.7.1' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -198,6 +202,7 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist sccache: 'true' + maturin-version: 'v1.7.1' - name: Upload wheels uses: actions/upload-artifact@v4 with: diff --git a/test_utils/fixtures/pyreport/.gitattributes b/test_utils/fixtures/pyreport/.gitattributes new file mode 100644 index 0000000..88a75ff --- /dev/null +++ b/test_utils/fixtures/pyreport/.gitattributes @@ -0,0 +1,2 @@ +# Pyreports are only created on Codecov's Linux backend, no need for CRLF +* text eol=lf