From ff4337d675cafcd2632925e0ab6faed809c6380b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 20:53:59 +0200 Subject: [PATCH] Bump cpp-linter/clang-tools-static-binaries to master-67c95218 (#106) * chore: bump clang-tools-static-binaries to master-57bca0b9 * feat: support clang v19 * fix: update clang-format-12_macosx-amd64.sha512sum * fix update clang-format-12_windows-amd64.sha512sum * Update README.rst * chore: bump clang-tools-static-binaries to master-67c95218 * update warining in readme * Update license and pyproject.toml * skip v19 test on macos --------- Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> Co-authored-by: shenxianpeng --- .github/workflows/python-test.yml | 5 ++++- LICENSE | 2 +- README.rst | 12 +++++++----- clang_tools/__init__.py | 2 +- pyproject.toml | 2 +- tests/clang-format-12_macosx-amd64.sha512sum | 2 +- tests/clang-format-12_windows-amd64.sha512sum | 2 +- 7 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index e214520..f0105e3 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -76,8 +76,11 @@ jobs: needs: [build] strategy: matrix: - version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18 ] + version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19 ] os: [ ubuntu-latest, macos-latest, windows-latest ] + exclude: + - version: 19 + os: macos-latest # FIXME: https://github.com/cpp-linter/clang-tools-static-binaries/issues/40 fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/LICENSE b/LICENSE index 09feb1b..d3d6c40 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Peter Shen +Copyright (c) 2022 Xianpeng Shen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.rst b/README.rst index 7d141b7..d808202 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ clang-tools CLI **Install clang-format, clang-tidy, clang-query, and clang-apply-replacements binaries with clang-tools CLI.** -.. |latest-version| image:: https://img.shields.io/pypi/v/clang-tools +.. |latest-version| image:: https://img.shields.io/pypi/v/clang-tools?color=blue :target: https://pypi.org/project/clang-tools/ :alt: PyPI .. |python-test| image:: https://github.com/cpp-linter/clang-tools-pip/actions/workflows/python-test.yml/badge.svg @@ -132,16 +132,18 @@ Supported versions clang-format, clang-tidy, clang-query, clang-apply-replacements *************************************************************** .. csv-table:: - :header: "Version", "18", "17", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7" + :header: "Version", "19", "18", "17", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7" :stub-columns: 1 - Linux,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ - Windows,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ - macOS,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ + Linux,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ + Windows,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ + macOS,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ .. warning:: All clang-tidy v14+ builds for MacOS are still ~1.7 GB in size. + clang-tidy-19_macosx-amd64 size > 2GB, unable to upload to GitHub releases and get by clang-tools CLI. + ------------ Thanks to the project diff --git a/clang_tools/__init__.py b/clang_tools/__init__.py index 089d559..44a6d9e 100644 --- a/clang_tools/__init__.py +++ b/clang_tools/__init__.py @@ -8,4 +8,4 @@ suffix = ".exe" if install_os == "windows" else "" # tag of https://github.com/cpp-linter/clang-tools-static-binaries/releases -release_tag = "master-2e4f8c1f" +release_tag = "master-67c95218" diff --git a/pyproject.toml b/pyproject.toml index a4656fe..cba8f69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.rst" keywords = ["clang", "clang-tools", "clang-extra", "clang-tidy", "clang-format"] license = {text = "MIT License"} authors = [ - { name = "Peter Shen", email = "xianpeng.shen@gmail.com" }, + { name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" }, { name = "Brendan Doherty", email = "2bndy5@gmail.com" }, ] classifiers = [ diff --git a/tests/clang-format-12_macosx-amd64.sha512sum b/tests/clang-format-12_macosx-amd64.sha512sum index c5d0fa8..68a79ca 100644 --- a/tests/clang-format-12_macosx-amd64.sha512sum +++ b/tests/clang-format-12_macosx-amd64.sha512sum @@ -1 +1 @@ -7e59b49dbf8d67d8dac954f4683615b1a8f918dc42acb0a8e72dd1be8f3cc005a7aba4f20358f209301af67bfc237341885e60f3d8dab6e332fe695e3207998e clang-format-12_macosx-amd64 +2bf05024600216eef6da1884e35fc7a0b8a559dcff59d960c255034253727e2b24bc2b4310d6adb340b0afaea18fdf9a25fa303597b094316da95a07e5956c17 clang-format-12_macosx-amd64 diff --git a/tests/clang-format-12_windows-amd64.sha512sum b/tests/clang-format-12_windows-amd64.sha512sum index 701ece3..cad6962 100644 --- a/tests/clang-format-12_windows-amd64.sha512sum +++ b/tests/clang-format-12_windows-amd64.sha512sum @@ -1 +1 @@ -a4056f4bfe1dab0d50020468e88a8e79c2de3a1ccbc58b5e79b4c02643bd1ae225417651912afa138e95492a4a98ae37f6a1aa9a63f785e261c73032207e3e37 *clang-format-12_windows-amd64 +e6af28b649411d9bd53b6a2dac85f1b99a20a6667c83cf0b10f78ec67027c89a720b8f7262c4b48315f4fc53b87099a5d0b9ef87adee94173976e5284b5f9adb *clang-format-12_windows-amd64