Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into test-local-resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
cottand committed Dec 14, 2024
2 parents ae11e4d + 7387ccb commit fde9f0e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/test-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-24.05
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Enable KVM group perms (for NixOS tests)
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
sudo apt-get update
sudo apt-get install -y libvirt-clients libvirt-daemon-system libvirt-daemon virtinst bridge-utils qemu qemu-system-x86
sudo usermod -a -G kvm,libvirt $USER
- uses: DeterminateSystems/nix-installer-action@main
- run: nix build . --show-trace

- run: nix flake check

0 comments on commit fde9f0e

Please sign in to comment.