mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-14 22:19:44 +00:00
fix: pr feedback
This commit is contained in:
parent
5762f0893c
commit
36c842d612
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -54,3 +54,17 @@ jobs:
|
|||||||
- name: Run C FFI smoketest under valgrind
|
- name: Run C FFI smoketest under valgrind
|
||||||
run: make valgrind
|
run: make valgrind
|
||||||
working-directory: crates/client-ffi/examples/message-exchange
|
working-directory: crates/client-ffi/examples/message-exchange
|
||||||
|
|
||||||
|
nix-build:
|
||||||
|
name: Nix Build
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: cachix/install-nix-action@v31
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
- run: nix build --print-build-logs
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
{
|
{
|
||||||
default = rustPlatform.buildRustPackage {
|
default = rustPlatform.buildRustPackage {
|
||||||
pname = "libchat";
|
pname = "libchat";
|
||||||
version = "0.1.0";
|
version = (builtins.fromTOML (builtins.readFile ./crates/client-ffi/Cargo.toml)).package.version;
|
||||||
src = pkgs.lib.cleanSourceWith {
|
src = pkgs.lib.cleanSourceWith {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
filter = path: type:
|
filter = path: type:
|
||||||
@ -48,9 +48,6 @@
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgs.perl pkgs.pkg-config pkgs.cmake ];
|
nativeBuildInputs = [ pkgs.perl pkgs.pkg-config pkgs.cmake ];
|
||||||
buildType = "release";
|
buildType = "release";
|
||||||
# Override panic=abort from workspace Cargo.toml — incompatible with buildRustPackage
|
|
||||||
CARGO_PROFILE_RELEASE_PANIC = "unwind";
|
|
||||||
# Tests run in CI; some require network access unavailable in the Nix sandbox
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user