-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update backend.nix * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * changed back to apt * added nix path * added nix path * changed to a script on marketplace * changed to a script on marketplace * changed to a script on marketplace * Update putricide.nix * disabled rebuilds, they be very slow
- Loading branch information
1 parent
e38dd78
commit 48b8615
Showing
3 changed files
with
31 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test NixOS configuration | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
|
||
- uses: cachix/install-nix-action@v25 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-23.11 | ||
|
||
- name: build-backend | ||
run: nix build -f ./packages/backend.nix | ||
- name: build-putricide | ||
run: nix build -f ./packages/putricide.nix | ||
#- name: build-skademaskinen | ||
# run: nix shell nixpkgs#nixos-rebuild --command nixos-rebuild build-vm --flake .#Skademaskinen | ||
#- name: build-laptop | ||
# run: nix shell nixpkgs#nixos-rebuild --command nixos-rebuild build-vm --flake .#laptop | ||
#- name: build-desktop | ||
# run: nix shell nixpkgs#nixos-rebuild --command nixos-rebuild build-vm --flake .#desktop |
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