Skip to content

Commit

Permalink
Bump cpp-linter/clang-tools-static-binaries to master-67c95218 (#106)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: shenxianpeng <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent 960e9a1 commit ff4337d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 7 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clang_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" },
{ name = "Xianpeng Shen", email = "[email protected]" },
{ name = "Brendan Doherty", email = "[email protected]" },
]
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion tests/clang-format-12_macosx-amd64.sha512sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7e59b49dbf8d67d8dac954f4683615b1a8f918dc42acb0a8e72dd1be8f3cc005a7aba4f20358f209301af67bfc237341885e60f3d8dab6e332fe695e3207998e clang-format-12_macosx-amd64
2bf05024600216eef6da1884e35fc7a0b8a559dcff59d960c255034253727e2b24bc2b4310d6adb340b0afaea18fdf9a25fa303597b094316da95a07e5956c17 clang-format-12_macosx-amd64
2 changes: 1 addition & 1 deletion tests/clang-format-12_windows-amd64.sha512sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4056f4bfe1dab0d50020468e88a8e79c2de3a1ccbc58b5e79b4c02643bd1ae225417651912afa138e95492a4a98ae37f6a1aa9a63f785e261c73032207e3e37 *clang-format-12_windows-amd64
e6af28b649411d9bd53b6a2dac85f1b99a20a6667c83cf0b10f78ec67027c89a720b8f7262c4b48315f4fc53b87099a5d0b9ef87adee94173976e5284b5f9adb *clang-format-12_windows-amd64

0 comments on commit ff4337d

Please sign in to comment.