ci: init
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Has been cancelled

This commit is contained in:
xinyangli 2024-03-25 20:46:13 +08:00
parent 2cc992a181
commit a2c5636c38
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
2 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,25 @@
name: Build abstract machine with nix
on: [push]
jobs:
build-abstract-machine:
runs-on: nix
steps:
- uses: https://github.com/cachix/cachix-action@v14
with:
name: ysyx
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Watch nix store
run: |
cachix watch-store ysyx &
- uses: actions/checkout@v4
sparse-checkout: |
flake.nix
abstract-machine
- name: Build abstract-machine
run: |
nix build .#abstract-machine
- name: Build nemu
run: |
nix build .#nemu