Merge pull request #702 from turbo124/master

Reduce parallel jobs and add swap in case we are hitting github actions
This commit is contained in:
David Bomba
2025-01-24 10:10:16 +11:00
committed by GitHub

View File

@@ -21,6 +21,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Add swap space
run: |
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h
- name: Set MAKEFLAGS for parallel make jobs
run: |
export MAKEFLAGS="-j2"
echo "MAKEFLAGS set to: $MAKEFLAGS"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with: