From 91fc55aecaa09160f1b3f3b23cca5a4a976dd815 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 | 6 ++++++ test_utils/fixtures/pyreport/.gitattributes | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 test_utils/fixtures/pyreport/.gitattributes diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0002293..e907cc9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,12 +9,14 @@ # - 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: release: types: - created + pull_request: permissions: contents: read @@ -44,6 +46,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 +108,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 +166,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 +203,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