Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
# HOST_ARCH value must match string in Lima download filename
HOST_ARCH: ${{ matrix.os == 'ubuntu-24.04' && 'x86_64' || (matrix.os == 'ubuntu-24.04-arm' && 'aarch64') || 'unknown' }}
LIMA_VERSION: "v1.0.6"
LIMA_VERSION: "v1.1.1"
GUEST_HOST_NAME: "nixsample"
GUEST_USER: "lima"
name: NixOS-${{ matrix.guest-arch }} Lima on ${{ matrix.os }}
Expand All @@ -42,7 +42,7 @@ jobs:
id: lima-actions-setup
with:
version: ${{ env.LIMA_VERSION }}
additional_guestagents: ${{ matrix.os == 'ubuntu-24.04' && 'false' || (matrix.os == 'ubuntu-24.04-arm' && 'true') || 'false' }}
additional_guestagents: ${{ matrix.os == 'ubuntu-24.04' && matrix.guest-arch == 'aarch64' && 'true' || (matrix.os == 'ubuntu-24.04-arm' && 'true') || 'false' }}

- name: "Cache ~/.cache/lima"
uses: actions/cache@v4
Expand All @@ -56,7 +56,7 @@ jobs:
QEMU_SYSTEM_AARCH64: ${{ env.HOST_ARCH == 'aarch64' && 'qemu-system-aarch64 -machine virt -cpu max' || 'qemu-system-aarch64' }}
run: |
set -eux
limactl start --vm-type qemu --arch ${{ matrix.guest-arch }} --name=${{ env.GUEST_HOST_NAME }} --network=lima:user-v2 --set '.user.name = "${{ env.GUEST_USER }}"' nixos.yaml
limactl start --debug --cpus=1 --memory=1 --arch ${{ matrix.guest-arch }} --name=${{ env.GUEST_HOST_NAME }} --network=lima:user-v2 --set '.user.name = "${{ env.GUEST_USER }}"' nixos.yaml

- name: "Update and Rebuild NixOS"
run: |
Expand Down
Loading