ci: add npc difftest
Some checks failed
Run CTests within npc / build-abstract-machine (push) Failing after 6m34s

This commit is contained in:
xinyangli 2024-04-05 11:30:52 +08:00
parent 6f7d7ba383
commit 90be25efc4
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
7 changed files with 119 additions and 12 deletions

View file

@ -0,0 +1,22 @@
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