From 82e869f16265f6c0a5c282b0a00b04935a8caa91 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 | 7 ++++++- test_utils/fixtures/pyreport/.gitattributes | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 test_utils/fixtures/pyreport/.gitattributes diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0002293..ddb62a5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -# This file is autogenerated by maturin v1.7.1 +# This file is autogenerated by maturin v1.7.2 # To update, run # # maturin generate-ci github --pytest @@ -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.2 because of a bug name: CI on: @@ -44,6 +45,7 @@ jobs: args: --release --out dist sccache: 'true' manylinux: auto + maturin-version: 'v1.7.2' - 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.2' - 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.2' - 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.2' - 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