mirror of
https://github.com/daijro/camoufox.git
synced 2026-09-09 00:00:39 +00:00
ci: Avoid oom
This commit is contained in:
@@ -102,7 +102,7 @@ jobs:
|
||||
|
||||
- name: Create swap space
|
||||
run: |
|
||||
sudo fallocate -l 16G /swapfile
|
||||
sudo fallocate -l 24G /swapfile
|
||||
sudo chmod 600 /swapfile
|
||||
sudo mkswap /swapfile
|
||||
sudo swapon /swapfile
|
||||
@@ -113,7 +113,7 @@ jobs:
|
||||
env:
|
||||
# Cap Rust parallelism to lower peak memory (avoids OOM/SIGTERM).
|
||||
# Tune to taste: higher = faster but more RAM.
|
||||
CARGO_BUILD_JOBS: "2"
|
||||
CARGO_BUILD_JOBS: "1"
|
||||
run: python3 ./multibuild.py --target ${{ matrix.target }} --arch ${{ matrix.arch }}
|
||||
|
||||
- name: Upload artifacts
|
||||
|
||||
Reference in New Issue
Block a user