Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run LLVM install script on Linux runners #146

Merged
merged 6 commits into from
May 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ runs:
shell: bash
run: |
if [[ "${{runner.os}}" == "Linux" ]]; then
# This LLVM script will add the relevant LLVM PPA: https://apt.llvm.org/
wget https://apt.llvm.org/llvm.sh -O $GITHUB_ACTION_PATH/llvm_install.sh
chmod +x $GITHUB_ACTION_PATH/llvm_install.sh
sudo $GITHUB_ACTION_PATH/llvm_install.sh ${{ inputs.version }} || true
sudo apt-get update
mirenradia marked this conversation as resolved.
Show resolved Hide resolved
sudo apt-get install clang-format-${{ inputs.version }} clang-tidy-${{ inputs.version }} || true
fi
Expand Down