mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-20 14:25:38 +00:00
fix: Make sure to source cargo env before building, b=no-bug, c=workflows
This commit is contained in:
5
.github/workflows/linux-release-build.yml
vendored
5
.github/workflows/linux-release-build.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/src/release-build.sh
vendored
2
.github/workflows/src/release-build.sh
vendored
@@ -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
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user