Skip to content

Commit

Permalink
clang-19 workflow, bump CI clang-format 15 -> 16
Browse files Browse the repository at this point in the history
  • Loading branch information
dr7ana committed Dec 11, 2024
1 parent 1eed2d9 commit 131e842
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -248,16 +248,19 @@ local mac_builder(name,
'echo "Building on ${DRONE_STAGE_MACHINE}"',
apt_get_quiet + ' update',
apt_get_quiet + ' install -y eatmydata',
'eatmydata ' + apt_get_quiet + ' install --no-install-recommends -y git clang-format-15 jsonnet',
'eatmydata ' + apt_get_quiet + ' install --no-install-recommends -y git clang-format-16 jsonnet',
'./utils/ci/lint-check.sh',
],
}],
},

// Various debian builds
debian_pipeline('Debian sid (amd64)', docker_base + 'debian-sid'),
debian_pipeline('Debian sid/Debug (amd64)', docker_base + 'debian-sid', build_type='Debug'),
clang(16),
full_llvm(16),
clang(19),
full_llvm(19),
debian_pipeline('Debian sid', docker_base + 'debian-sid'),
debian_pipeline('Debian sid/Debug', docker_base + 'debian-sid', build_type='Debug'),
debian_pipeline('Debian 11', docker_base + 'debian-bullseye', deps=default_deps, extra_setup=debian_backports('bullseye', ['cmake'])),
Expand Down
2 changes: 1 addition & 1 deletion utils/format.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

CLANG_FORMAT_DESIRED_VERSION=15
CLANG_FORMAT_DESIRED_VERSION=16

binary=$(command -v clang-format-$CLANG_FORMAT_DESIRED_VERSION 2>/dev/null)
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 131e842

Please sign in to comment.