Skip to content

Commit

Permalink
ci: add nix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Nov 2, 2024
1 parent 687482a commit 90bd852
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,22 @@ jobs:
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy
nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update -y
sudo apt-get install -y qemu-kvm
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
# Build and test tracexec
# Also builds kernels
- run: nix build
# Run Userspace<->Kernel CI
- run: nix run '.#ukci'
check_and_test:
strategy:
fail-fast: false
Expand Down

0 comments on commit 90bd852

Please sign in to comment.