Skip to content

Commit

Permalink
Use clang tooling version 18 for all projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Mi-La committed Feb 12, 2025
1 parent 69a5c73 commit 73048f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_linux_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
matrix:
include:
- { os: "ubuntu-20.04", java-version: 8 }
- { os: "ubuntu-20.04", java-version: 11 }
- { os: "ubuntu-22.04", java-version: 17 }
- { os: "ubuntu-22.04", java-version: 11 }
- { os: "ubuntu-24.04", java-version: 17 }

runs-on: ${{matrix.os}}
name: ${{matrix.os}}-java${{matrix.java-version}}

steps:
- name: "Set up environment"
run: |
if [[ "${{matrix.os}}" == "ubuntu-22.04" ]] ; then
echo "CLANG_FORMAT_BIN=clang-format-14" >> ${GITHUB_ENV}
if [[ "${{matrix.os}}" == "ubuntu-24.04" ]] ; then
echo "CLANG_FORMAT_BIN=clang-format-18" >> ${GITHUB_ENV}
fi
echo "SPOTBUGS_HOME=${RUNNER_WORKSPACE}/spotbugs-4.8.2" >> ${GITHUB_ENV}
Expand All @@ -33,10 +33,10 @@ jobs:
distribution: temurin
java-version: ${{matrix.java-version}}

- name: Install clang-format-14 tool
- name: Install clang-format-18 tool
if: ${{ env.CLANG_FORMAT_BIN != '' }}
run: |
sudo apt-get install clang-format-14
sudo apt-get install clang-format-18
- name: Install specific version of Java static code analysis tool (spotbugs)
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_windows_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Install clang format
shell: bash
run: |
choco install llvm --version=14.0.0 --allow-downgrade
choco install llvm --version=18.1.8 --allow-downgrade
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_windows_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install clang format
shell: bash
run: |
choco install llvm --version=14.0.0 --allow-downgrade
choco install llvm --version=18.1.8 --allow-downgrade
- name: Install specific version of Java static code analysis tool (spotbugs)
shell: bash
Expand Down

0 comments on commit 73048f6

Please sign in to comment.