|
29 | 29 | DEBIAN_FRONTEND: noninteractive |
30 | 30 | run: | |
31 | 31 | sudo apt-get update |
32 | | - sudo apt-get install --no-install-recommends -yq clang-13 clang++-13 maven flex bison libxml2-utils ccache |
| 32 | + sudo apt-get install --no-install-recommends -yq clang-13 clang++-13 flex bison libxml2-utils ccache |
33 | 33 | - name: Log cargo/rust version |
34 | 34 | run: cargo --version |
35 | 35 | - name: Prepare ccache |
|
53 | 53 | # local experiments on the same platform, but it seems to be doing no harm to the build overall |
54 | 54 | # and allows us to test the Rust API on Linux without issues. |
55 | 55 | - name: Configure using CMake |
56 | | - run: cmake -S. -B${{env.default_build_dir}} -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_C_COMPILER=/usr/bin/clang-13 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-13 |
| 56 | + run: cmake -S. -B${{env.default_build_dir}} -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_C_COMPILER=/usr/bin/clang-13 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-13 -DWITH_JBMC=OFF |
57 | 57 | - name: Build with CMake |
58 | | - run: cmake --build ${{env.default_build_dir}} -j2 |
| 58 | + run: cmake --build ${{env.default_build_dir}} -j2 --target cprover-api-cpp |
59 | 59 | - name: Print ccache stats |
60 | 60 | run: ccache -s |
61 | 61 | # We won't be running any of the regular regression tests, as these are covered |
|
75 | 75 | with: |
76 | 76 | submodules: recursive |
77 | 77 | - name: Fetch dependencies |
78 | | - run: brew install cmake ninja maven flex bison ccache |
| 78 | + run: brew install cmake ninja flex bison ccache |
79 | 79 | - name: Log cargo/rust version |
80 | 80 | run: cargo --version |
81 | 81 | - name: Prepare ccache |
|
93 | 93 | - name: Zero ccache stats and limit in size |
94 | 94 | run: ccache -z --max-size=500M |
95 | 95 | - name: Configure using CMake |
96 | | - run: cmake -S. -B${{env.default_build_dir}} -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ |
| 96 | + run: cmake -S. -B${{env.default_build_dir}} -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_JBMC=OFF |
97 | 97 | - name: Build with Ninja |
98 | | - run: cd ${{env.default_build_dir}}; ninja -j3 |
| 98 | + run: cd ${{env.default_build_dir}}; ninja -j3 cprover-api-cpp |
99 | 99 | - name: Print ccache stats |
100 | 100 | run: ccache -s |
101 | 101 | # We won't be running any of the regular regression tests, as these are covered |
|
0 commit comments