Skip to content

Commit a8de0b7

Browse files
authored
Merge pull request #8030 from esteffin/esteffin/simplify-rust-build-ci-job
Remove useless steps from Rust CI pipeline
2 parents ea34799 + fc64f4f commit a8de0b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pull-request-check-rust-api.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
DEBIAN_FRONTEND: noninteractive
3030
run: |
3131
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
3333
- name: Log cargo/rust version
3434
run: cargo --version
3535
- name: Prepare ccache
@@ -53,9 +53,9 @@ jobs:
5353
# local experiments on the same platform, but it seems to be doing no harm to the build overall
5454
# and allows us to test the Rust API on Linux without issues.
5555
- 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
5757
- 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
5959
- name: Print ccache stats
6060
run: ccache -s
6161
# We won't be running any of the regular regression tests, as these are covered
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
submodules: recursive
7777
- name: Fetch dependencies
78-
run: brew install cmake ninja maven flex bison ccache
78+
run: brew install cmake ninja flex bison ccache
7979
- name: Log cargo/rust version
8080
run: cargo --version
8181
- name: Prepare ccache
@@ -93,9 +93,9 @@ jobs:
9393
- name: Zero ccache stats and limit in size
9494
run: ccache -z --max-size=500M
9595
- 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
9797
- 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
9999
- name: Print ccache stats
100100
run: ccache -s
101101
# We won't be running any of the regular regression tests, as these are covered

0 commit comments

Comments
 (0)