mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
ci: lean test VMs: 2 vCPUs and 4 GB each, also to install
This commit is contained in:
1 parent
028416b760
commit
d002c7d332
1 file changed
+5
-5
@@ -93,7 +93,7 @@ jobs:
|
|||||||
options: --privileged
|
options: --privileged
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
# The runner has ~20 GB of RAM for this: an install VM peaks at 6 GB (4 GB once installed), so two at a time (needs the
|
# The runner has ~20 GB of RAM for this: an install VM takes 4 GB (4 GB once installed too), so two at a time (needs the
|
||||||
# runner's `capacity: 2`; with 1 they run one after the other).
|
# runner's `capacity: 2`; with 1 they run one after the other).
|
||||||
max-parallel: 2
|
max-parallel: 2
|
||||||
matrix:
|
matrix:
|
||||||
@@ -132,10 +132,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CI: "1"
|
CI: "1"
|
||||||
VM_TIMEZONE: UTC
|
VM_TIMEZONE: UTC
|
||||||
# The runner is 4 cores / 8 threads: two VMs with 3 vCPUs leave 2 threads for the host and the runner.
|
# The runner is 4 cores / 8 threads: two VMs with 2 vCPUs leave 4 threads for the host and the runner.
|
||||||
VM_CPUS: "3"
|
VM_CPUS: "2"
|
||||||
# RAM of the live installer VM (the ISO is read from its cdrom, only the overlay and the installer use RAM); 8 GB was the local default
|
# RAM of the live installer VM (the ISO is read from its cdrom, only the overlay and the installer use RAM); 8 GB is the local default, this is the lean end: raise it if an install dies out of memory
|
||||||
VM_INSTALL_MEM: 6G
|
VM_INSTALL_MEM: 4G
|
||||||
VM_ISO_DIR: ${{ github.workspace }}/iso
|
VM_ISO_DIR: ${{ github.workspace }}/iso
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh ~/vms/pkg-cache
|
mkdir -p ~/.ssh ~/vms/pkg-cache
|
||||||
|
|||||||
Reference in new issue
Block a user