Skip to content

Move scan-build task from macos-14 to macos-14-arm64 #1799

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

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .evergreen/config_generator/components/scan_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# pylint: disable=line-too-long
# fmt: off
MATRIX = [
('macos-14', 'clang', None ),
('macos-14-arm64', 'clang', None ),
('ubuntu2004-arm64', 'clang', None ),
('ubuntu2004', 'clang', 'i686'),
]
Expand Down
6 changes: 3 additions & 3 deletions .evergreen/generated_configs/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4916,9 +4916,9 @@ tasks:
- func: bootstrap-mongo-orchestration
- func: run-simple-http-server
- func: run-tests
- name: scan-build-macos-14-clang
run_on: macos-14
tags: [scan-build-matrix, macos-14, clang]
- name: scan-build-macos-14-arm64-clang
run_on: macos-14-arm64
tags: [scan-build-matrix, macos-14-arm64, clang]
commands:
- func: find-cmake-latest
- func: scan-build
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/scripts/compile-scan-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ if [[ -d /usr/local/Cellar/llvm ]]; then
done
fi

if command -v scan-build && clmmand -v clang && command -v clang++; then
if command -v scan-build && command -v clang && command -v clang++; then
scan_build_binary="scan-build"
CC="clang"
CXX="clang++"
Expand Down