mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-10 16:34:22 +01:00
Reduce parallel jobs and add swap in case we are hitting github action limitations
This commit is contained in:
13
.github/workflows/build-image-v5.yaml
vendored
13
.github/workflows/build-image-v5.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user