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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
run: nix fmt -- . --check --exclude ./third_party --exclude ./cheriot-rtos

- name: Run Lints
run: nix run .?submodules=1#lint-all
run: nix run .#lint-all

- name: Build Software
run: |
nix build -L .?submodules=1#sonata-exercises
nix build -L .?submodules=1#sonata-examples
nix build -L .?submodules=1#sonata-automotive-demo-legacy-component
nix build -L .?submodules=1#sonata-heartbleed-demo-legacy-component
nix build -L .?submodules=1#sonata-tests
nix build -L .#sonata-exercises
nix build -L .#sonata-examples
nix build -L .#sonata-automotive-demo-legacy-component
nix build -L .#sonata-heartbleed-demo-legacy-component
nix build -L .#sonata-tests

- name: Run Nix Checks
run: nix flake check -L .?submodules=1#
run: nix flake check -L .#
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
description = "Sonata software";
inputs = {
self.submodules = true;
sonata-system.url = "github:lowRISC/sonata-system";
lowrisc-nix.follows = "sonata-system/lowrisc-nix";
nixpkgs.follows = "lowrisc-nix/nixpkgs";
Expand Down Expand Up @@ -228,6 +229,7 @@
value = {
type = "app";
program = getExe program;
meta.description = "Part of the Sonata Software lints and tests suite.";
};
}) [lint-all lint-cpp lint-python tests-runner tests-fpga-runner]);
};
Expand Down