Skip to content

Commit

Permalink
fix yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bri committed Feb 11, 2024
1 parent 2ed0ae7 commit bd98e79
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ specs_template: &SPECS
kvm: true

linux_container_template: &LINUX_CONTAINER_TEMPLATE
linux_container:
container:
<<: *SPECS

arm_container_template: &ARM_CONTAINER_TEMPLATE
Expand All @@ -60,70 +60,70 @@ build_darwin_task:
<<: *BUILD_TEMPLATE

build_linux_task:
matrix:
- arm_container: *SPECS
env:
ARCH: arm64
USER: root
- linux_container: *SPECS
env:
ARCH: x86_64
USER: root
configure_flake_script: |
echo "experimental-features = nix-command flakes" | tee -a /etc/nix/nix.conf
echo "$NIX_INSTALLER_EXTRA_CONF" | tee -a /etc/nix/nix.conf
<<: *BUILD_TEMPLATE
matrix:
- <<: *ARM_CONTAINER_TEMPLATE
env:
ARCH: arm64
USER: root
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
USER: root
configure_flake_script: |
echo "experimental-features = nix-command flakes" | tee -a /etc/nix/nix.conf
echo "$NIX_INSTALLER_EXTRA_CONF" | tee -a /etc/nix/nix.conf
<<: *BUILD_TEMPLATE

build_image_task:
matrix:
matrix:
# - <<: *ARM_CONTAINER_TEMPLATE
# env:
# ARCH: arm64
# USER: root
- linux_container: *SPECS
env:
ARCH: x86_64
FORMAT: proxmox
EXT: vma.zst
TARGET: server
- linux_container: *SPECS
env:
ARCH: x86_64
FORMAT: raw-efi
EXT: img
TARGET: server
- linux_container: *SPECS
env:
ARCH: x86_64
FORMAT: iso
EXT: iso
TARGET: server
# - <<: *LINUX_CONTAINER_TEMPLATE
# env:
# ARCH: x86_64
# FORMAT: proxmox
# EXT: vma.zst
# TARGET: bri
- linux_container: *SPECS
env:
ARCH: x86_64
FORMAT: proxmox-lxc
EXT: tar.xz
TARGET: server
- linux_container: *SPECS
env:
ARCH: x86_64
FORMAT: raw-efi
EXT: img
TARGET: bri
- linux_container: *SPECS
env:
ARCH: x86_64
FORMAT: iso
EXT: iso
TARGET: bri
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
FORMAT: proxmox
EXT: vma.zst
TARGET: server
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
FORMAT: raw-efi
EXT: img
TARGET: server
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
FORMAT: iso
EXT: iso
TARGET: server
# - <<: *LINUX_CONTAINER_TEMPLATE
# env:
# ARCH: x86_64
# FORMAT: proxmox
# EXT: vma.zst
# TARGET: bri
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
FORMAT: proxmox-lxc
EXT: tar.xz
TARGET: server
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
FORMAT: raw-efi
EXT: img
TARGET: bri
- <<: *LINUX_CONTAINER_TEMPLATE
env:
ARCH: x86_64
FORMAT: iso
EXT: iso
TARGET: bri

configure_flake_script: |
echo "experimental-features = nix-command flakes" | tee -a /etc/nix/nix.conf
echo "$NIX_INSTALLER_EXTRA_CONF" | tee -a /etc/nix/nix.conf
<<: *BUILD_IMAGE_TEMPLATE
configure_flake_script: |
echo "experimental-features = nix-command flakes" | tee -a /etc/nix/nix.conf
echo "$NIX_INSTALLER_EXTRA_CONF" | tee -a /etc/nix/nix.conf
<<: *BUILD_IMAGE_TEMPLATE

0 comments on commit bd98e79

Please sign in to comment.