Skip to content

Commit 46449ee

Browse files
committed
Use 3 cores on GitHub macOS runners
According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners, macOS virtual machines have 3 cores available. The CTest step in check-macos-10_15-cmake-clang now takes 24 minutes instead of 33 minutes.
1 parent e7d87ae commit 46449ee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ jobs:
189189
- name: Build using Make
190190
run: |
191191
make -C src minisat2-download
192-
make -C src -j2 CXX="ccache clang++"
193-
make -C jbmc/src -j2 CXX="ccache clang++"
192+
make -C src -j3 CXX="ccache clang++"
193+
make -C jbmc/src -j3 CXX="ccache clang++"
194194
make -C unit "CXX=ccache clang++"
195195
make -C jbmc/unit "CXX=ccache clang++"
196196
- name: Print ccache stats
@@ -200,9 +200,9 @@ jobs:
200200
- name: Run JBMC unit tests
201201
run: cd jbmc/unit; ./unit_tests
202202
- name: Run regression tests
203-
run: make -C regression test-parallel JOBS=2
203+
run: make -C regression test-parallel JOBS=3
204204
- name: Run JBMC regression tests
205-
run: make -C jbmc/regression test-parallel JOBS=2
205+
run: make -C jbmc/regression test-parallel JOBS=3
206206

207207
check-macos-10_15-cmake-clang:
208208
runs-on: macos-10.15
@@ -232,11 +232,11 @@ jobs:
232232
cd build
233233
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -Dsat_impl=glucose
234234
- name: Build with Ninja
235-
run: cd build; ninja -j2
235+
run: cd build; ninja -j3
236236
- name: Print ccache stats
237237
run: ccache -s
238238
- name: Run CTest
239-
run: cd build; ctest -V -L CORE . -j2
239+
run: cd build; ctest -V -L CORE . -j3
240240

241241
check-vs-2019-build-and-test:
242242
runs-on: windows-2019

0 commit comments

Comments
 (0)