File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Cache dependencies
2626 uses : Swatinem/rust-cache@v2
2727
28- - name : Build Project (Debug)
29- run : cargo build --verbose
28+ - name : Clean and Build Project (Debug)
29+ run : |
30+ cargo clean
31+ cargo build --verbose
3032
3133 - name : Build Project (Release)
3234 run : cargo build --release --verbose
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Test CI Build Sequence Locally
4+ # This script simulates the exact build sequence that will run in CI
5+
6+ set -e # Exit on any error
7+
8+ echo " 🧹 Cleaning build artifacts..."
9+ cargo clean
10+
11+ echo " 🔨 Building project (Debug)..."
12+ cargo build --verbose
13+
14+ echo " 🔨 Building project (Release)..."
15+ cargo build --release --verbose
16+
17+ echo " 🧪 Running tests..."
18+ cargo test --verbose
19+
20+ echo " ✅ CI build sequence completed successfully!"
21+ echo " This indicates the CI pipeline should work correctly."
You can’t perform that action at this time.
0 commit comments