mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-02-17 04:23:09 +00:00
chore: ci fix
This commit is contained in:
parent
5782292d6b
commit
8616504cb9
6
.github/workflows/ci-nix.yml
vendored
6
.github/workflows/ci-nix.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
- name: 'Run tests'
|
||||
run: |
|
||||
nix develop '.?submodules=1' --accept-flake-config --command \
|
||||
nimble test
|
||||
nim test sds.nims
|
||||
|
||||
# Build desktop library
|
||||
build-desktop:
|
||||
@ -62,7 +62,7 @@ jobs:
|
||||
nix build -L '.?submodules=1#libsds' \
|
||||
--print-out-paths --accept-flake-config
|
||||
- name: 'Verify output'
|
||||
run: file result/lib/*
|
||||
run: ls -la result/lib/
|
||||
|
||||
# Build Android targets only on Linux — avoids macOS cross-compile issues
|
||||
build-android:
|
||||
@ -85,4 +85,4 @@ jobs:
|
||||
nix build -L '.?submodules=1#${{ matrix.nixpkg }}' \
|
||||
--print-out-paths --accept-flake-config
|
||||
- name: 'Verify output'
|
||||
run: file result/jni/**/* 2>/dev/null || file result/lib/*
|
||||
run: ls -laR result/
|
||||
|
||||
@ -1,16 +0,0 @@
|
||||
# Package
|
||||
version = "0.1.0"
|
||||
author = "Waku Team"
|
||||
description = "E2E Reliability Protocol API"
|
||||
license = "MIT"
|
||||
srcDir = "src"
|
||||
|
||||
# Dependencies
|
||||
requires "nim >= 2.0.8"
|
||||
requires "chronicles"
|
||||
requires "libp2p"
|
||||
|
||||
# Tasks
|
||||
task test, "Run the test suite":
|
||||
exec "nim c -r tests/test_bloom.nim"
|
||||
exec "nim c -r tests/test_reliability.nim"
|
||||
Loading…
x
Reference in New Issue
Block a user