ysyx-workbench/.gitea/workflows/abstract-machine-build.yml

26 lines
609 B
YAML
Raw Normal View History

2024-03-25 12:46:13 +00:00
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