From c1e47fd4496807c3339ad0699f7780b80859a149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 15 Oct 2025 18:29:10 +0200 Subject: [PATCH] nix: add Gh workflow for building Flake packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Important if `status-go` is consume the Nix Flake. Signed-off-by: Jakub SokoĊ‚owski --- .github/workflows/nix-builds.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/nix-builds.yml diff --git a/.github/workflows/nix-builds.yml b/.github/workflows/nix-builds.yml new file mode 100644 index 0000000..4e6e845 --- /dev/null +++ b/.github/workflows/nix-builds.yml @@ -0,0 +1,25 @@ +--- +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