diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index f0105e3..5807afa 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -10,6 +10,7 @@ on: branches: [ "main" ] paths: - "**.py" + - "clang_tools/__init__.py" - "**requirements*.txt" - pyproject.toml - .pre-commit-config.yaml @@ -76,11 +77,11 @@ jobs: needs: [build] strategy: matrix: - version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19 ] + version: [ 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19, 20 ] 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 + # 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/clang_tools/__init__.py b/clang_tools/__init__.py index e6977be..172a67a 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-4eaa4a54" +release_tag = "master-2da3e7b" diff --git a/clang_tools/install.py b/clang_tools/install.py index d3162d7..8aa4e93 100644 --- a/clang_tools/install.py +++ b/clang_tools/install.py @@ -73,7 +73,7 @@ def clang_tools_binary_url(tool: str, version: str, tag: str = release_tag) -> s :returns: The URL used to download the specified tool. """ base_url = ( - "https://github.com/cpp-linter/clang-tools-static-binaries/releases/download/" + "https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/" + tag ) download_url = f"{base_url}/{tool}-{version}_{install_os}-amd64{suffix}" diff --git a/tests/clang-format-12_linux-amd64.sha512sum b/tests/clang-format-12_linux-amd64.sha512sum index 1aea8db..6c5362f 100644 --- a/tests/clang-format-12_linux-amd64.sha512sum +++ b/tests/clang-format-12_linux-amd64.sha512sum @@ -1 +1 @@ -d916477bdedd48245b6eedeb8680fcb0665a0145c7b078ddc4ba3f1fbc16eb6b081dc89f41242f228b723a472eb734836d1914178abdd94293a25a9e62eefc11 clang-format-12_linux-amd64 +79afa99481f071bee2be3e72d2b1641b60427cc202360e44cf4e5dc6f977c4e4223e5a29430a15c9c80720dd6f75801f4811d2848ee52fe014fc232a99a589af clang-format-12_linux-amd64 diff --git a/tests/clang-format-12_macosx-amd64.sha512sum b/tests/clang-format-12_macosx-amd64.sha512sum index 68a79ca..38e07e5 100644 --- a/tests/clang-format-12_macosx-amd64.sha512sum +++ b/tests/clang-format-12_macosx-amd64.sha512sum @@ -1 +1 @@ -2bf05024600216eef6da1884e35fc7a0b8a559dcff59d960c255034253727e2b24bc2b4310d6adb340b0afaea18fdf9a25fa303597b094316da95a07e5956c17 clang-format-12_macosx-amd64 +f7ee4b9bbe169501f42dfd992c7ae0b56647328a83a0c5b17fd9581a1aed8f3d79598b1d210801f9c7bbe56ef54ac91f53e14275a0cbcb6c4061bbd7da61ecd9 clang-format-12_macosx-amd64 diff --git a/tests/clang-format-12_windows-amd64.sha512sum b/tests/clang-format-12_windows-amd64.sha512sum index cad6962..73c21ed 100644 --- a/tests/clang-format-12_windows-amd64.sha512sum +++ b/tests/clang-format-12_windows-amd64.sha512sum @@ -1 +1 @@ -e6af28b649411d9bd53b6a2dac85f1b99a20a6667c83cf0b10f78ec67027c89a720b8f7262c4b48315f4fc53b87099a5d0b9ef87adee94173976e5284b5f9adb *clang-format-12_windows-amd64 +9f55fef798671a061fd382d652cf199d5ec947037d417e384494771595f8fcb78c7d9e315af3b3c8abca2f8ec7a9eb502675f689df79ebc3e5fc766cabd294f8 *clang-format-12_windows-amd64