1
1
mirror of https://github.com/oxalica/nil.git synced 2024-08-16 22:20:31 +03:00

Simplify CI

This commit is contained in:
oxalica 2022-12-01 09:09:43 +08:00
parent 4532f57f13
commit df7fd7b17e

View File

@ -28,8 +28,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
@ -52,8 +50,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
@ -65,7 +61,7 @@ jobs:
run: cargo test --all -- --include-ignored
nix-flake:
name: Nix packaging (flake)
name: Nix package (flake)
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
@ -81,7 +77,7 @@ jobs:
run: nix build --no-update-lock-file --show-trace --verbose --print-build-logs
nix-legacy:
name: Nix packaging (legacy)
name: Nix package (legacy)
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
@ -97,4 +93,4 @@ jobs:
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Nix build
run: nix-build
run: nix-build --show-trace --verbose