cryodev/.forgejo/workflows/ci.yml
steffen 2a418868e6 disable Pi builds in CI: QEMU crashes on aarch64 Node.js packages
markdown-preview.nvim runs yarn install which compiles native binaries.
Under QEMU aarch64 emulation on x86_64 this causes 'Illegal instruction'
crashes. Pi images must be built locally or on a native aarch64 runner.

Pi deployment still works via Comin (builds locally on the Pi itself).
2026-03-14 15:08:35 +01:00

27 lines
683 B
YAML

name: CI
on: [pull_request]
jobs:
flake-check:
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run flake check
run: nix flake check --impure
build-hosts:
needs: flake-check
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build cryodev-main
run: nix build .#nixosConfigurations.cryodev-main.config.system.build.toplevel --impure
# Pi build disabled: QEMU emulation crashes on Node.js packages
# - name: Build cryodev-pi
# run: nix build .#nixosConfigurations.cryodev-pi.config.system.build.toplevel --impure