From 3071b3c57d88a40d675f2c76db437f887684c846 Mon Sep 17 00:00:00 2001 From: Marquess Valdez Date: Thu, 1 Aug 2024 15:16:03 -0700 Subject: [PATCH] build: Add long path support to windows builds (#489) * build: Add long path support to windows builds * remove removed lint --- .github/workflows/release-python.yml | 19 +++++++++++-------- crates/lib/src/lib.rs | 1 - 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 3a65d0fb2..253d2ace3 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -83,13 +83,16 @@ jobs: package-name: qcs-sdk-python-grpc-web maturin-target: ${{ matrix.target }} - windows: - runs-on: windows-latest + windows: + runs-on: windows-latest needs: [is-python-release, should-publish-wheels] - strategy: - matrix: + strategy: + matrix: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: + - name: Enable long path support + run: | + reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f - uses: actions/checkout@v2 - name: Install protoc uses: arduino/setup-protoc@v1 @@ -107,8 +110,8 @@ jobs: needs: is-python-release env: CXXFLAGS: "-std=c++11" - strategy: - matrix: + strategy: + matrix: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/checkout@v2 @@ -135,8 +138,8 @@ jobs: if: always() && needs.sdist.result == 'success' permissions: id-token: write - strategy: - matrix: + strategy: + matrix: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/download-artifact@v3 diff --git a/crates/lib/src/lib.rs b/crates/lib/src/lib.rs index f8c0ffae3..0d1c4a92e 100644 --- a/crates/lib/src/lib.rs +++ b/crates/lib/src/lib.rs @@ -29,7 +29,6 @@ overflowing_literals, path_statements, patterns_in_fns_without_body, - pointer_structural_match, semicolon_in_expressions_from_macros, trivial_casts, trivial_numeric_casts,