Skip to content

Commit c1e47fd

Browse files
committed
nix: add Gh workflow for building Flake packages
Important if `status-go` is consume the Nix Flake. Signed-off-by: Jakub Sokołowski <[email protected]>
1 parent 87d5716 commit c1e47fd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/nix-builds.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: ci / nix-builds
3+
on:
4+
pull_request:
5+
branches: [master]
6+
jobs:
7+
build:
8+
name: Build Nix Flake packages
9+
runs-on: [self-hosted, Linux]
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
submodules: recursive
14+
15+
- name: Build library
16+
shell: bash
17+
run: |
18+
nix build '.?submodules=1#libsds' \
19+
--print-out-paths --accept-flake-config
20+
21+
- name: Build Android library
22+
shell: bash
23+
run: |
24+
nix build '.?submodules=1#libsds-android-arm64' \
25+
--print-out-paths --accept-flake-config

0 commit comments

Comments
 (0)