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).
27 lines
683 B
YAML
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
|