ysyx-workbench/.gitea/workflows/npc-test.yml
xinyangli 90be25efc4
Some checks failed
Run CTests within npc / build-abstract-machine (push) Failing after 6m34s
ci: add npc difftest
2024-04-05 11:30:52 +08:00

22 lines
515 B
YAML

name: Run CTests within npc
on: [push]
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: Run tests
run: |
nix develop .#npc
mkdir -p npc/build
cd npc/build
cmake $cmakeFlags ../
make -j8
make test