20030dc8d5
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 01:03:00 up 10:38, 2 users, load average: 0.20, 0.16, 0.66
22 lines
528 B
YAML
22 lines
528 B
YAML
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 }}'
|
|
- 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
|
|
|