Skip to content

Commit

Permalink
ci(workflows): build currentSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandrini committed Aug 6, 2024
1 parent 0edb6f5 commit b755351
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/cachix-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ jobs:
run: |
nix profile install nixpkgs#nix-fast-build # parallel nix builder
- name: "Building project packages..."
run: nix-fast-build --skip-cached --no-nom
- name: "Running `nix build ...`..."
run: nix-fast-build --skip-cached --no-nom --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)"

# - name: "Building project packages..."
# run: nix-fast-build --skip-cached --no-nom --flake ".#packages"

- name: "Building project devShells..."
run: nix-fast-build --skip-cached --no-nom --flake ".#devShells"
- name: "Running `nix develop...`..."
run: nix-fast-build --skip-cached --no-nom --flake ".#devShells.$(nix eval --raw --impure --expr builtins.currentSystem)"
8 changes: 7 additions & 1 deletion .github/workflows/flake-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ jobs:
nix profile install nixpkgs#nix-fast-build # parallel nix builder
- name: "Running `nix flake check`..."
run: nix-fast-build --skip-cached --no-nom
run: nix-fast-build --skip-cached --no-nom --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"

- name: "Running `nix build ...`..."
run: nix-fast-build --skip-cached --no-nom --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)"

- name: "Running `nix develop...`..."
run: nix-fast-build --skip-cached --no-nom --flake ".#devShells.$(nix eval --raw --impure --expr builtins.currentSystem)"

- name: "Checking flake inputs for stale & insecure nixpkgs versions..."
uses: DeterminateSystems/flake-checker-action@main

0 comments on commit b755351

Please sign in to comment.