We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa99b61 commit 174d033Copy full SHA for 174d033
.github/workflows/ci.yml
@@ -189,6 +189,11 @@ jobs:
189
# Build it into the build directory, to avoid modifying sources
190
- name: build citool
191
run: |
192
+ # Check if cargo is installed
193
+ if ! command -v cargo &> /dev/null; then
194
+ echo "Cargo not found, installing Rust..."
195
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
196
+ fi
197
cd src/ci/citool
198
CARGO_INCREMENTAL=0 CARGO_TARGET_DIR=../../../build/citool cargo build
199
0 commit comments