Skip to content

Commit

Permalink
🐛 Fix missing clang-tidy in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kammce committed Dec 7, 2024
1 parent 63db0a0 commit f754112
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,25 @@ jobs:
matrix:
include:
- os: ubuntu-22.04
installations: sudo apt remove clang-tidy && wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 17 && sudo apt install libc++-17-dev libc++abi-17-dev && sudo apt-get install pipx && pipx ensurepath
installations: sudo apt remove clang-tidy && sudo rm -f /usr/bin/clang-tidy && wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 17 && sudo apt install libc++-17-dev libc++abi-17-dev && sudo apt-get install pipx && pipx ensurepath
enable_coverage: ${{ inputs.coverage }}
profile_path: profiles/x86_64/linux/

- os: ubuntu-24.04
installations: sudo apt remove clang-tidy && wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 17 && sudo apt install libc++-17-dev libc++abi-17-dev && sudo apt-get install pipx && pipx ensurepath
installations: sudo apt remove clang-tidy && sudo rm -f /usr/bin/clang-tidy && wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 17 && sudo apt install libc++-17-dev libc++abi-17-dev && sudo apt-get install pipx && pipx ensurepath
enable_coverage: ${{ inputs.coverage }}
profile_path: profiles/x86_64/linux/

- os: macos-13
installations: brew install llvm@17 && sudo ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin/ && brew install pipx
installations: brew install llvm@17 && sudo ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin/ && brew install pipx && echo 'export PATH="/usr/local/opt/llvm@17/bin:$PATH"' >> /Users/runner/.bash_profile && source /Users/runner/.bash_profile
profile_path: profiles/x86_64/mac-13/

- os: macos-14
installations: brew install llvm@17 && sudo ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin/ && brew install pipx
installations: brew install llvm@17 && sudo ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin/ && brew install pipx && pipx ensurepath && echo 'export PATH="/opt/homebrew/opt/llvm@17/bin:$PATH"' >> /Users/runner/.bash_profile && source /Users/runner/.bash_profile
profile_path: profiles/x86_64/mac-14/

- os: macos-15
installations: brew install llvm@17 && sudo ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin/ && brew install pipx
installations: brew install llvm@17 && sudo ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin/ && brew install pipx && pipx ensurepath && echo 'export PATH="/opt/homebrew/opt/llvm@17/bin:$PATH"' >> /Users/runner/.bash_profile && source /Users/runner/.bash_profile
profile_path: profiles/x86_64/mac-15/

# # Skip already installed "git" and "mingw"
Expand Down

0 comments on commit f754112

Please sign in to comment.