From ab9bb3608943dcace6967c81f218986cb2ba863b Mon Sep 17 00:00:00 2001 From: Ivan Carvalho Date: Tue, 3 Oct 2023 22:13:10 -0400 Subject: [PATCH] Install rustup from source with curl --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index e4d57cbec8..e81fd0405a 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -25,7 +25,7 @@ jobs: run: | python -m cibuildwheel --output-dir wheelhouse env: - CIBW_BEFORE_ALL_LINUX: "apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache rustup && rustup-init -y && source $HOME/.cargo/env && rustup install stable && rustup default stable" + CIBW_BEFORE_ALL_LINUX: "apk add --no-cache curl gcc && curl https://sh.rustup.rs -sSf | sh -s -- -y && source $HOME/.cargo/env && rustup install stable && rustup default stable" CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin:$HOME/.cargo/env" CARGO_NET_GIT_FETCH_WITH_CLI="true"' CIBW_MUSLLINUX_X86_64_IMAGE: quay.io/pypa/musllinux_1_1_x86_64:latest CIBW_SKIP: cp36-* pp* *win32 *macosx* *manylinux*