Skip to content

Commit 777018a

Browse files
committed
Use cli git in cargo
It should help to fix oom bug in qemu builds
1 parent 6b24d74 commit 777018a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
package-dir: ./light-curve
5252
env:
5353
CIBW_SKIP: "*-musllinux_i686 pp39-*" # rustup doesn't install i686-musl, pyO3<0.16 doesn't support pypy3.9
54-
CIBW_BUILD_VERBOSITY: 3
54+
CIBW_BUILD_VERBOSITY: "3"
5555

5656
- name: Upload wheels as artifacts
5757
uses: actions/upload-artifact@v3

light-curve/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ test-requires = [
6464
[tool.cibuildwheel.environment]
6565
PATH = "$PATH:$HOME/.cargo/bin"
6666
GSL_VERSION = "2.7" # used in manylinux only
67+
CARGO_NET_GIT_FETCH_WITH_CLI = "true" # Solves the issue with OOM in QEMU during crate.io index fetching
6768

6869
[tool.cibuildwheel.macos]
6970
before-all = [

0 commit comments

Comments
 (0)