From 160123f9a5e0845b7548e1d394c56196aa391021 Mon Sep 17 00:00:00 2001 From: Abhinav Natarajan Date: Thu, 7 Nov 2024 23:53:16 +0000 Subject: [PATCH] (fix) use script for rustup --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 336bd7a..0302a9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,8 @@ jobs: CIBW_ENVIRONMENT_PASS_LINUX: CI CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 # We need rustup to build phimaker from source if necessary - CIBW_BEFORE_ALL_LINUX: dnf install -y zip rustup + CIBW_BEFORE_ALL_LINUX: dnf install -y zip && curl -sSf https://sh.rustup.rs | sh -s -- -y + CIBW_ENVIRONMENT_LINUX: "PATH=$HOME/.cargo/bin:$PATH" CIBW_TEST_COMMAND: pytest {package}/tests CIBW_TEST_REQUIRES: pytest~=8.2