From 65de89601977c8c02af843982e7b70edd1913a74 Mon Sep 17 00:00:00 2001 From: catvayor Date: Tue, 27 Aug 2024 10:57:31 +0200 Subject: [PATCH] feat(ci): build VM QEMU MIPS --- .forgejo/workflows/build.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/build.yaml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..dcb2ee4 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -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