nim-sds/.github/workflows/nix-builds.yml
Jakub Sokołowski c1e47fd449
nix: add Gh workflow for building Flake packages
Important if `status-go` is consume the Nix Flake.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-15 18:34:38 +02:00

26 lines
590 B
YAML

---
name: ci / nix-builds
on:
pull_request:
branches: [master]
jobs:
build:
name: Build Nix Flake packages
runs-on: [self-hosted, Linux]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build library
shell: bash
run: |
nix build '.?submodules=1#libsds' \
--print-out-paths --accept-flake-config
- name: Build Android library
shell: bash
run: |
nix build '.?submodules=1#libsds-android-arm64' \
--print-out-paths --accept-flake-config