-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (36 loc) · 958 Bytes
/
vm-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Run VM tests
on:
workflow_call:
pull_request:
push:
branches:
- main
jobs:
nix:
strategy:
matrix:
system:
- x86_64-linux
- aarch64-linux
test:
- hjem-basic
- hjem-special-args
runs-on: ubuntu-latest
steps:
- name: "Set up QEMU support"
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
diagnostic-endpoint: "" # no personalized self-merges tyvm.
logger: pretty
extra-conf: |
experimental-features = nix-command flakes
allow-import-from-derivation = false
extra-platforms = aarch64-linux
- name: Checkout
uses: actions/checkout@v4
- name: Build packages
run: nix build -L .#checks.${{ matrix.system }}.${{ matrix.test }} -v