ysyx-workbench/.gitea/workflows/build-npc.yml
xinyangli 5ba306c74e
Some checks failed
Build abstract machine with nix / build-packages (abstract-machine) (push) Failing after 13s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 8s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 8s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 8s
Build npc tests / npc-build (flow) (push) Successful in 2m29s
Build npc tests / npc-build (flow-simlib) (push) Successful in 1m45s
npc,ci: fix wrong working directory
2024-08-14 17:18:07 +08:00

21 lines
483 B
YAML

name: Build npc tests
on: [push]
jobs:
npc-build:
strategy:
matrix:
package: [ "flow", "flow-simlib"]
runs-on: nix
defaults:
run:
working-directory: ./npc
steps:
- uses: https://github.com/cachix/cachix-action@v14
with:
name: ysyx
authToken: '${{ secrets.CACHIX_SIGNING_KEY }}'
- uses: actions/checkout@v4
- name: Build package
run: |
nix build -L .#${{ matrix.package }}