Merge pull request #561 from eduardosm/ci-4-cores

Use 4 cores in CI
This commit is contained in:
Samuel Tyler 2025-12-31 11:26:44 +11:00 committed by GitHub
commit 9b5f393169
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ jobs:
mirror-state mirror-state
key: cache-${{ hashFiles('steps/*/sources') }} key: cache-${{ hashFiles('steps/*/sources') }}
- name: Run bootstrap - name: Run bootstrap
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass1 --mirror file://${PWD}/mirror run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 4 --internal-ci pass1 --mirror file://${PWD}/mirror
- name: Archive created packages - name: Archive created packages
if: failure() # archive failed builds progress if: failure() # archive failed builds progress
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -98,7 +98,7 @@ jobs:
- name: Copy distfiles - name: Copy distfiles
run: ./download-distfiles.sh file:///${PWD}/mirror run: ./download-distfiles.sh file:///${PWD}/mirror
- name: Run bootstrap - name: Run bootstrap
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass2 --mirror file://${PWD}/mirror run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 4 --internal-ci pass2 --mirror file://${PWD}/mirror
- name: Archive created packages - name: Archive created packages
if: failure() # archive failed builds progress if: failure() # archive failed builds progress
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -147,7 +147,7 @@ jobs:
- name: Copy distfiles - name: Copy distfiles
run: ./download-distfiles.sh file:///${PWD}/mirror run: ./download-distfiles.sh file:///${PWD}/mirror
- name: Run bootstrap - name: Run bootstrap
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass3 --mirror file://${PWD}/mirror run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 4 --internal-ci pass3 --mirror file://${PWD}/mirror
- name: Archive created packages - name: Archive created packages
if: always() # archive both failed and successful builds if: always() # archive both failed and successful builds
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4