Skip to content

Commit e38a526

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 e38a526

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/nix-builds.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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: nix build --accept-flake-config '.?submodules=1#libsds'
18+
19+
- name: Build Android library
20+
shell: bash
21+
run: nix build --accept-flake-config '.?submodules=1#libsds-android-arm64'

0 commit comments

Comments
 (0)