-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3eabd5f
commit bd6e54f
Showing
2 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,9 +26,17 @@ jobs: | |
with: | ||
ssh-private-key: ${{ secrets.NIX_CACHE_SSH_KEY }} | ||
|
||
- run: nix build -j auto | ||
- name: Build Nix Flake default package | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 3 | ||
command: nix build -j auto | ||
|
||
- run: nix develop -j auto --command true | ||
- name: Build Nix Flake default development shell | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 3 | ||
command: nix develop -j auto --command true | ||
|
||
- if: always() | ||
uses: ./.github/actions/export-nix-store | ||
|
@@ -47,7 +55,11 @@ jobs: | |
with: | ||
ssh-private-key: ${{ secrets.NIX_CACHE_SSH_KEY }} | ||
|
||
- run: nix-build -j auto -v examples/standard/default.nix | ||
- name: Build Example deriviation | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 3 | ||
command: nix-build -j auto examples/standard/default.nix | ||
|
||
- if: always() | ||
uses: ./.github/actions/export-nix-store | ||
|
@@ -67,8 +79,11 @@ jobs: | |
with: | ||
ssh-private-key: ${{ secrets.NIX_CACHE_SSH_KEY }} | ||
|
||
- run: | | ||
nix -vL build -j auto --impure ./examples/flake --override-input opam-nix-integration path:./. | ||
- name: Build Example flake | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 3 | ||
command: nix build -j auto --impure ./examples/flake --override-input opam-nix-integration path:./. | ||
|
||
- if: always() | ||
uses: ./.github/actions/export-nix-store | ||
|