forked from DGNum/liminix
feat(ci): build VM QEMU MIPS
This commit is contained in:
parent
afe9d2211b
commit
65de896019
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/build.yaml
Normal file
20
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: build liminix
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, edited, reopened]
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_vm_qemu_mips:
|
||||||
|
runs-on: nix
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Build VM QEMU MIPS
|
||||||
|
run: |
|
||||||
|
# Enter the shell
|
||||||
|
nix-build -I liminix-config=./examples/hello-from-qemu.nix --arg device "import ./devices/qemu" -A outputs.default
|
Loading…
Reference in a new issue