PostgREST / postgrest

REST API for any Postgres database
https://postgrest.org
MIT License
22.65k stars 1k forks source link

ci: Build on self-hosted ARM runner via stack #3540

Open wolfgangwalther opened 1 month ago

wolfgangwalther commented 1 month ago

As I didn't succeed to build via nix natively, yet, let's try via stack at first.

wolfgangwalther commented 1 month ago

Hmm... seems like haskell-actions/setup depends on ghcup being available. That's not the case - at least so far.

wolfgangwalther commented 1 month ago

Here's the first aarch64 linux build via stack on our own github runner: https://github.com/PostgREST/postgrest/actions/runs/9179141201/artifacts/1523986691

This was built on latest nixos-unstable. Unfortunately, this currently makes it unusable for other systems, because the interpreter is hardcoded to /nix/store/....