mirror of
https://github.com/malob/prefmanager.git
synced 2024-12-14 11:57:49 +00:00
Add Nix devshell build to CI
This commit is contained in:
parent
b5205879c1
commit
be93301eac
1 changed files with 18 additions and 0 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -51,6 +51,24 @@ jobs:
|
|||
nix -L build .#$NAME
|
||||
nix run .#$NAME -- domains
|
||||
|
||||
nix-build-devshell:
|
||||
name: Nix build devshell
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v4
|
||||
|
||||
- name: Setup cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- name: Build and test
|
||||
run: |
|
||||
nix -L develop . --command echo "OK"
|
||||
|
||||
stack-build:
|
||||
name: Stack build
|
||||
runs-on: macos-latest
|
||||
|
|
Loading…
Reference in a new issue