Skip to content

Commit 7f61f9f

Browse files
sorgfresserKakadus
andauthored
Working version (#21)
* Add env expansion json methods * Re-add assert theorems size == 1 * use correct `VERBOSE_PRINTS` ifdef (#18) * Add theorem wrapper * commit that *** * Fix * iterate * Fix metadata in tests, as it is not loaded from json * Add seed to samples/test.json * Add TheoremPointer and fix json loading * Add Tactic, Context, Hypothesis wrapper * Remove erroneous is valid false * Fix null values * Rewrite simulations to be tree like structure * Add more verbose prints * Add additional assertion * Fix tactic killed if child node is already killed * Fix errorneuous env expansion constructor * Fix ancestor dump to json * Make proof optional * Allow priors to be empty * Add errorneous expansion test * Fix minproof pqueue greater * Remove verbose prints * Remove prints * Add c++ tests to actions workflow * Add sudo to apt * Remove useless deps * Add samples jsons * fix: Incref correctly in PyTactic_get_is_valid * Metadata nullptr default --------- Co-authored-by: Jonas Dittrich <58814480+Kakadus@users.noreply.github.com>
1 parent 4474cff commit 7f61f9f

File tree

15 files changed

+2929
-1982
lines changed

15 files changed

+2929
-1982
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,28 @@ jobs:
3636
uses: actions/upload-artifact@v4
3737
with:
3838
path: wheelhouse/*
39-
name: wheels
39+
name: wheels
40+
41+
cpp-tests:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Checkout repository
45+
uses: actions/checkout@v4
46+
with:
47+
submodules: 'recursive'
48+
49+
- name: Install dependencies
50+
run: |
51+
sudo apt install -y cmake libgtest-dev
52+
53+
- name: Configure project
54+
run: |
55+
mkdir -p build
56+
cd build
57+
cmake ..
58+
59+
- name: Build and run CMake test target
60+
run: |
61+
cd build
62+
cmake --build . --target test
63+
./test

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
docs/build
22
__pycache__/
3+
build/
4+
dist/
5+
*.egg-info/
6+
*.egg
7+
*.pyc

0 commit comments

Comments
 (0)