fix: Make sure to source cargo env before building, b=no-bug, c=workflows

This commit is contained in:
Mr. M
2025-07-24 16:38:02 +02:00
parent 51f22680f4
commit 78b1088b41
3 changed files with 3 additions and 6 deletions

View File

@@ -117,11 +117,6 @@ jobs:
./mach --no-interactive bootstrap --application-choice browser
cd ..
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(cat .rust-toolchain)
source $HOME/.cargo/env
- name: Insert API Keys
run: |
mkdir -p ~/.zen-keys

View File

@@ -8,6 +8,8 @@ if command -v apt-get &> /dev/null; then
sudo apt-get install -y xvfb libnvidia-egl-wayland1 mesa-utils libgl1-mesa-dri
fi
. $HOME/.cargo/env
ulimit -n 4096
if command -v Xvfb &> /dev/null; then

View File

@@ -26,7 +26,7 @@
"surfer": "surfer",
"test": "python3 scripts/run_tests.py",
"test:dbg": "python3 scripts/run_tests.py --jsdebugger --debug-on-failure",
"ffprefs": "cd tools/ffprefs && cargo run --release --bin ffprefs -- ../../",
"ffprefs": "cd tools/ffprefs && cargo run --bin ffprefs -- ../../",
"lc": "surfer license-check",
"lc:fix": "surfer license-check --fix"
},