Skip to content

Commit e53a021

Browse files
authored
Migrate to cmake (#61)
* Migrate to cmake. * Dependency.
1 parent 2b2036c commit e53a021

File tree

229 files changed

+10
-27032
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+10
-27032
lines changed

.github/workflows/pytest.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ jobs:
55
runs-on: ubuntu-18.04
66
steps:
77
- uses: actions/checkout@v1
8+
- name: ccache
9+
uses: hendrikmuhs/ccache-action@v1
10+
with:
11+
key: ${{ matrix.os }}
12+
max-size: 1000M
813
- name: Install
914
run: |
1015
./do_install.sh RUN_CI=ON
11-
- name: Test with pytest
16+
- name: Test with CMake
1217
run: |
13-
python3 -m pytest test.py -vrf
18+
cd modules/p4c/build
19+
ctest -j4 -R toz3-validate --output-on-failure --schedule-random

conftest.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

do_install.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,4 @@ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
135135
make -j `getconf _NPROCESSORS_ONLN`
136136
cd ../..
137137

138-
echo "Installing Gauntlet Python dependencies..."
139-
# Install z3 locally
140-
pip3 install --upgrade --user z3-solver
141-
# Pytests for tests
142-
pip3 install --upgrade --user pytest
143-
# Run tests in parallel
144-
pip3 install --upgrade --user pytest-xdist
145-
# Python 3.6 compatibility
146-
pip3 install --upgrade --user dataclasses
147-
148-
149-
150138
echo "Gauntlet installation completed successfully."

dockerfile

Lines changed: 0 additions & 43 deletions
This file was deleted.

modules/p4c

Submodule p4c updated 476 files

modules/toz3

Submodule toz3 updated 600 files

test.py

Lines changed: 0 additions & 209 deletions
This file was deleted.

0 commit comments

Comments
 (0)