mirror of
https://github.com/oxalica/nil.git
synced 2024-11-22 11:22:46 +03:00
Add CI for flake-compat
This commit is contained in:
parent
aa69e25c93
commit
bffd286622
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
||||
run: cargo test --all -- --include-ignored
|
||||
|
||||
nix:
|
||||
name: Nix packaging
|
||||
name: Nix packaging (flake)
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
@ -76,3 +76,19 @@ jobs:
|
||||
run: nix flake check --no-update-lock-file --show-trace --verbose
|
||||
- name: Flake build
|
||||
run: nix build --no-update-lock-file --show-trace --verbose --print-build-logs
|
||||
|
||||
nix:
|
||||
name: Nix packaging (legacy)
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||
- name: Nix build
|
||||
run: nix-build
|
||||
|
Loading…
Reference in New Issue
Block a user