Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed May 12, 2024
1 parent 60c8a5c commit 8a2f202
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
run: nix develop --command make lintcheck
- name: Build
if: success() || failure()
run: nix build .
run: nix build .#all
8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@
'';
doCheck = false;
};
# Mainly for building everything in CI.
all = pkgs.buildEnv {
name = "rose-all";
paths = [
rose-zig
rose-py
];
};
};
});
}
3 changes: 1 addition & 2 deletions rose/ffi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# type: ignore
from cffi import FFI

ffi = FFI()
Expand All @@ -13,4 +12,4 @@


def get_release() -> str:
return ffi.string(ffi.gc(lib.getRelease(), lib.free_str)).decode("utf-8")
return ffi.string(ffi.gc(lib.getRelease(), lib.free_str)).decode("utf-8") # type: ignore

0 comments on commit 8a2f202

Please sign in to comment.