test: add test framework

This commit is contained in:
Nick Peng
2023-03-14 00:08:59 +08:00
parent 1c605938e0
commit 81ab3f413a
15 changed files with 1075 additions and 8 deletions

View File

@@ -13,5 +13,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: prepare
run: |
sudo apt update
sudo apt install libgtest-dev
- name: make
run: make
run: |
make all -j4
make clean
- name: test
run: |
make -C test test -j8