# zds runs on a Raspberry Pi 1 (ARMv6, 512 MB). This ReleaseSafe build is # CI's slowest compile (about six minutes), so it is its own workflow: it runs # beside ci.yml on main pushes and fails on its own, but does not hold up the # deploy of a change that already passed ci.yml. when: - event: ["push"] branch: main paths: ["src/**", "tools/**", "config/**", "scripts/**", build.zig, build.zig.zon, .tangled/workflows/armv6.yml] - event: ["manual"] branch: "**" engine: nixery dependencies: nixpkgs: - bash - coreutils - util-linux - curl - gnutar - xz - zstd environment: ZIG_GLOBAL_CACHE_DIR: /tangled/workspace/.ci-cache/global cache: - key: zig-armv6 hash: - build.zig.zon - tools/ci-zig.sh fallback: true compression-level: 1 when: always paths: - .ci-cache steps: - name: install Zig 0.17.0 command: tools/ci-zig.sh - name: fetch dependencies command: tools/ci-fetch.sh - name: ARMv6 ReleaseSafe build command: | tools/ci-cores.sh efficiency .ci-cache/zig/zig build -Dtarget=arm-linux-musleabihf -Dcpu=arm1176jzf_s \ -Doptimize=ReleaseSafe -p .ci-armv6 --summary all