mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-01-02 06:03:06 +00:00
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>
This commit is contained in:
parent
87d5716ac6
commit
c1e47fd449
25
.github/workflows/nix-builds.yml
vendored
Normal file
25
.github/workflows/nix-builds.yml
vendored
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user