Skip to content

Commit

Permalink
CI: bump vCPU use and macOS version
Browse files Browse the repository at this point in the history
* increases number of build processes from 2 to 4 for Linux jobs

* increases number of build processes from 2 to 3 for macOS job

* increases macOS version from 12 to 14
  • Loading branch information
kroening committed Jun 16, 2024
1 parent d55933c commit fa8c9f0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
make -C lib/cbmc/src minisat2-download
- name: Build with make
run: make -C src -j2 CXX="ccache g++"
run: make -C src -j4 CXX="ccache g++"
- name: Run the ebmc tests with SAT
run: make -C regression/ebmc test
- name: Run the ebmc tests with Z3
Expand Down Expand Up @@ -94,8 +94,7 @@ jobs:
run: |
make -C lib/cbmc/src minisat2-download
- name: Build with make
run: |
make CXX="ccache clang++" -C src -j2
run: make CXX="ccache clang++" -C src -j4
- name: Run the ebmc tests with SAT
run: make -C regression/ebmc test
- name: Run the ebmc tests with Z3
Expand Down Expand Up @@ -141,7 +140,7 @@ jobs:
- name: Get minisat
run: make -C lib/cbmc/src minisat2-download
- name: Build with make
run: make CXX="ccache g++ -Wno-class-memaccess" LIBS="-lstdc++fs" -C src -j2
run: make CXX="ccache g++ -Wno-class-memaccess" LIBS="-lstdc++fs" -C src -j4
- name: Run the ebmc tests with SAT
run: |
rm regression/ebmc/neural-liveness/counter1.desc
Expand All @@ -152,14 +151,14 @@ jobs:
run: ccache -s

# This job takes approximately 20 minutes
check-macos-12-make-clang:
runs-on: macos-12
check-macos-14-make-clang:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Fetch dependencies
run: brew install flex bison ccache z3
run: brew install bison ccache z3
- name: Confirm z3 solver is available and log the version installed
run: z3 --version
- name: Prepare ccache
Expand All @@ -180,7 +179,7 @@ jobs:
- name: Get minisat
run: make -C lib/cbmc/src minisat2-download
- name: Build with make
run: make YACC="/usr/local/opt/bison/bin/bison" CXX="ccache clang++" -C src -j2
run: make YACC="/opt/homebrew/opt/bison/bin/bison" CXX="ccache clang++" -C src -j3
- name: Run the ebmc tests with SAT
run: make -C regression/ebmc test
- name: Run the ebmc tests with Z3
Expand Down

0 comments on commit fa8c9f0

Please sign in to comment.