mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +00:00
ci: test uninstallation of nix-darwin using flakes
This commit is contained in:
parent
ebca0c23c9
commit
7bbc7c5db6
1 changed files with 8 additions and 0 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -155,6 +155,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
. /etc/static/bashrc
|
. /etc/static/bashrc
|
||||||
darwin-rebuild build --flake ./modules/examples/flake#simple --override-input nix-darwin . --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }}
|
darwin-rebuild build --flake ./modules/examples/flake#simple --override-input nix-darwin . --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }}
|
||||||
|
- name: Test uninstallation of nix-darwin
|
||||||
|
run: |
|
||||||
|
nix run .#darwin-uninstaller --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }}
|
||||||
|
nix run .#darwin-uninstaller.tests.uninstaller --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }}
|
||||||
|
|
||||||
install-flake-against-unstable:
|
install-flake-against-unstable:
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
|
@ -184,3 +188,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
. /etc/static/bashrc
|
. /etc/static/bashrc
|
||||||
darwin-rebuild build --flake ./modules/examples/flake#simple --override-input nix-darwin . --override-input nixpkgs nixpkgs/nixpkgs-unstable
|
darwin-rebuild build --flake ./modules/examples/flake#simple --override-input nix-darwin . --override-input nixpkgs nixpkgs/nixpkgs-unstable
|
||||||
|
- name: Test uninstallation of nix-darwin
|
||||||
|
run: |
|
||||||
|
nix run .#darwin-uninstaller --override-input nixpkgs nixpkgs/nixpkgs-unstable
|
||||||
|
nix run .#darwin-uninstaller.tests.uninstaller --override-input nixpkgs nixpkgs/nixpkgs-unstable
|
||||||
|
|
Loading…
Add table
Reference in a new issue