delete dangling links using link farm manifest #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run VM tests | |
on: | |
workflow_call: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
jobs: | |
vm-tests: | |
if: github.event.pull_request.draft == false | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest # x86 | |
system: "x86_64-linux" | |
test: hjem-basic | |
- os: ubuntu-22.04-arm # aarch64 | |
system: "aarch64-linux" | |
test: hjem-basic | |
- os: ubuntu-latest | |
system: "x86_64-linux" | |
test: hjem-special-args | |
- os: ubuntu-22.04-arm | |
system: "aarch64-linux" | |
test: hjem-special-args | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
with: | |
diagnostic-endpoint: "" | |
extra-conf: | | |
experimental-features = nix-command flakes | |
system-features = kvm nixos-test | |
allow-import-from-derivation = false | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build packages | |
run: nix build -L .#checks.${{ matrix.system }}.${{ matrix.test }} |