ysyx-workbench/.gitea/workflows/abstract-machine-build.yml
xinyangli dc2cb010ce
All checks were successful
Build abstract machine with nix / build-abstract-machine (push) Successful in 1m21s
ci: run only on push to master
2024-03-26 13:34:52 +08:00

27 lines
595 B
YAML

name: Build abstract machine with nix
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-abstract-machine:
runs-on: nix
steps:
- uses: https://github.com/cachix/cachix-action@v14
with:
name: ysyx
authToken: '${{ secrets.CACHIX_SIGNING_KEY }}'
- uses: actions/checkout@v4
with:
submodules: true
- name: Build abstract-machine
run: |
nix build .?submodules=1#abstract-machine
- name: Build nemu
run: |
nix build .?submodules=1#nemu