Skip to content

Commit

Permalink
build: Add long path support to windows builds (#489)
Browse files Browse the repository at this point in the history
* build: Add long path support to windows builds

* remove removed lint
  • Loading branch information
MarquessV authored Aug 1, 2024
1 parent 4b91bb2 commit 3071b3c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion crates/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3071b3c

Please sign in to comment.