1
Fork 0
mirror of https://github.com/RGBCube/hjem synced 2026-01-13 16:51:04 +00:00
hjem/.github/workflows/vm-tests.yml
dependabot[bot] 76e15f8df5
build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 12:04:49 +00:00

49 lines
1.3 KiB
YAML

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
- os: ubuntu-latest
system: "x86_64-linux"
test: hjem-linker
- os: ubuntu-22.04-arm
system: "aarch64-linux"
test: hjem-linker
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@v5
- name: Build packages
run: nix build -L .#checks.${{ matrix.system }}.${{ matrix.test }}