Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless steps from Rust CI pipeline #8030

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/pull-request-check-rust-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down