Skip to content

Commit

Permalink
ci: build all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
d4hines committed Dec 16, 2022
1 parent 8f45f20 commit 0b5f308
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
done
- name: Check formatting
run: nix fmt -- --fail-on-change
- name: Check all packages
run: nix flake -L check
- name: Build default
run: nix --log-format raw -L build '.#deku'
- name: Build static
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
tuna = self'.packages.tuna;
deploy-rs = deploy-rs.packages.${system}.default;
};
checks = self.outputs.packages.${system};
formatter = treefmt.legacyPackages.${system}.withConfig {
settings = with pkgs; {
excludes = [
Expand Down
6 changes: 5 additions & 1 deletion nix/deku-p/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
static = true;
};

ligo = inputs.ligo.packages.${system}.ligoLight;
ligo =
if system == "x86_64-linux"
then inputs.ligo.packages.${system}.ligoLight
# TODO: fix ligo for other systems
else pkgs.hello;

docker = pkgs.callPackage ./docker.nix {inherit deku ligo;};
in {
Expand Down

0 comments on commit 0b5f308

Please sign in to comment.