mirror of
https://github.com/oxalica/nil.git
synced 2024-10-26 20:14:59 +03:00
Simplify CI
This commit is contained in:
parent
4532f57f13
commit
df7fd7b17e
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -28,8 +28,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Nix
|
|
||||||
uses: cachix/install-nix-action@v17
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@ -52,8 +50,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Nix
|
|
||||||
uses: cachix/install-nix-action@v17
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@ -65,7 +61,7 @@ jobs:
|
|||||||
run: cargo test --all -- --include-ignored
|
run: cargo test --all -- --include-ignored
|
||||||
|
|
||||||
nix-flake:
|
nix-flake:
|
||||||
name: Nix packaging (flake)
|
name: Nix package (flake)
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
@ -81,7 +77,7 @@ jobs:
|
|||||||
run: nix build --no-update-lock-file --show-trace --verbose --print-build-logs
|
run: nix build --no-update-lock-file --show-trace --verbose --print-build-logs
|
||||||
|
|
||||||
nix-legacy:
|
nix-legacy:
|
||||||
name: Nix packaging (legacy)
|
name: Nix package (legacy)
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
@ -97,4 +93,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||||
- name: Nix build
|
- name: Nix build
|
||||||
run: nix-build
|
run: nix-build --show-trace --verbose
|
||||||
|
Loading…
Reference in New Issue
Block a user