Skip to content

Commit f9ba2bf

Browse files
committed
Use 4 vCPUs for running coverage-recording tests
We changed the number of vCPUs for most scenarios in 55e5bdf, but failed to also propagate this to coverage-recording test execution.
1 parent 13be4da commit f9ba2bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/coverage.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
4747
echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
4848
- name: Configure CMake CBMC build with coverage instrumentation parameters
49-
run: cmake -S . -Bbuild -Denable_coverage=1 -Dparallel_tests=2 -DCMAKE_CXX_COMPILER=/usr/bin/g++
49+
run: cmake -S . -Bbuild -Denable_coverage=1 -Dparallel_tests=${{env.linux-vcpus}} -DCMAKE_CXX_COMPILER=/usr/bin/g++
5050
- name: Zero ccache stats and limit in size
5151
run: ccache -z --max-size=7G
5252
- name: Execute CMake CBMC build
@@ -98,7 +98,7 @@ jobs:
9898
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
9999
echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
100100
- name: Configure CMake CBMC build with coverage instrumentation parameters
101-
run: cmake -S . -Bbuild -Denable_coverage=1 -Dparallel_tests=2 -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCOVERAGE_CTEST_EXTRA_FLAGS="-E;^jbmc"
101+
run: cmake -S . -Bbuild -Denable_coverage=1 -Dparallel_tests=${{env.linux-vcpus}} -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCOVERAGE_CTEST_EXTRA_FLAGS="-E;^jbmc"
102102
- name: Zero ccache stats and limit in size
103103
run: ccache -z --max-size=7G
104104
- name: Execute CMake CBMC build
@@ -161,7 +161,7 @@ jobs:
161161
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
162162
echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
163163
- name: Configure CMake CBMC build with coverage instrumentation parameters
164-
run: cmake -S . -Bbuild -Denable_coverage=1 -Dparallel_tests=2 -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCOVERAGE_CTEST_EXTRA_FLAGS="-R;^jbmc"
164+
run: cmake -S . -Bbuild -Denable_coverage=1 -Dparallel_tests=${{env.linux-vcpus}} -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCOVERAGE_CTEST_EXTRA_FLAGS="-R;^jbmc"
165165
- name: Zero ccache stats and limit in size
166166
run: ccache -z --max-size=7G
167167
- name: Execute CMake CBMC build

0 commit comments

Comments
 (0)