Skip to content

Commit

Permalink
Simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oxalica committed Dec 1, 2022
1 parent 4532f57 commit df7fd7b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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]
Expand All @@ -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]
Expand All @@ -97,4 +93,4 @@ jobs:
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Nix build
run: nix-build
run: nix-build --show-trace --verbose

0 comments on commit df7fd7b

Please sign in to comment.