diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 947bc39..88ef21a 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -28,9 +28,23 @@ env: jobs: build: - # fedora-44 carries node + npm + pnpm (gitea-runners.md §4) and nothing else - # is needed — there is no Rust half here. - runs-on: fedora-44 + # `rust`, not `fedora-44`, despite there being no Rust here. + # + # The fedora-4x images list pnpm (gitea-runners.md §4) but their pnpm cannot + # run: `@pnpm/exe` is a native binary and the images lack libatomic, so the + # very first step dies with + # + # pnpm: error while loading shared libraries: libatomic.so.1 + # + # `runner-rust` is built on `runner-fedora-44` and adds gcc, musl-gcc and + # cmake, which pull libatomic in as a side effect — which is why + # blackbeard.observer builds its SPA there and this one now does too. + # + # This is a workaround for a runner-image bug, not the fix. The fix is + # libatomic in the fedora-4x Containerfiles (gitea-runners.md §5: bake build + # dependencies into the image, not the workflow). Move back when that lands; + # a 4 CPU / 4 GiB image to run `vite build` is more than this needs. + runs-on: rust steps: - uses: actions/checkout@v4