Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
- name: Download binary artifacts
id: download
uses: actions/download-artifact@v4
with:
merge-multiple: true

- name: Debug artifact download
run: ls -lh ${{ steps.download.outputs.download-path }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:

- name: Run unit tests in dev shell
run: |
nix develop
nix develop .#test
cargo test
11 changes: 9 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"x86_64-unknown-linux-musl"
];
in {
devShells =
devShells =
let
extraRustStds = system: targets: map (target: fenix.packages.${system}.targets.${target}.stable.rust-std) targets;
toolchain = system: targets:
Expand All @@ -30,7 +30,8 @@
eachSystem (system:
{
default =
with import nixpkgs { inherit system; }; mkShell {
with import nixpkgs { inherit system; };
mkShell {
nativeBuildInputs = [
(toolchain system crossTargets)
yaml-language-server
Expand All @@ -48,6 +49,12 @@
# CARGO_BUILD_RUSTFLAGS = [ "-C" "target-feature=+crt-static" ];
# TARGET_CC = "${CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER}";
};

test =
with import nixpkgs { inherit system; };
mkShell {
nativeBuildInputs = [ fenix.packages.${system}.stable.minimalToolchain ];
};
}
);

Expand Down