diff --git a/.github/workflows/pull-request-check-rust-api.yaml b/.github/workflows/pull-request-check-rust-api.yaml index 802d9a63074..a3faf73c8eb 100644 --- a/.github/workflows/pull-request-check-rust-api.yaml +++ b/.github/workflows/pull-request-check-rust-api.yaml @@ -29,7 +29,7 @@ jobs: DEBIAN_FRONTEND: noninteractive run: | sudo apt-get update - sudo apt-get install --no-install-recommends -yq clang-13 clang++-13 maven flex bison libxml2-utils ccache + sudo apt-get install --no-install-recommends -yq clang-13 clang++-13 flex bison libxml2-utils ccache - name: Log cargo/rust version run: cargo --version - name: Prepare ccache @@ -53,9 +53,9 @@ jobs: # local experiments on the same platform, but it seems to be doing no harm to the build overall # and allows us to test the Rust API on Linux without issues. - name: Configure using CMake - 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 + 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 - name: Build with CMake - run: cmake --build ${{env.default_build_dir}} -j2 + run: cmake --build ${{env.default_build_dir}} -j2 --target cprover-api-cpp - name: Print ccache stats run: ccache -s # We won't be running any of the regular regression tests, as these are covered @@ -75,7 +75,7 @@ jobs: with: submodules: recursive - name: Fetch dependencies - run: brew install cmake ninja maven flex bison ccache + run: brew install cmake ninja flex bison ccache - name: Log cargo/rust version run: cargo --version - name: Prepare ccache @@ -93,9 +93,9 @@ jobs: - name: Zero ccache stats and limit in size run: ccache -z --max-size=500M - name: Configure using CMake - 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++ + 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 - name: Build with Ninja - run: cd ${{env.default_build_dir}}; ninja -j3 + run: cd ${{env.default_build_dir}}; ninja -j3 cprover-api-cpp - name: Print ccache stats run: ccache -s # We won't be running any of the regular regression tests, as these are covered