Skip to content

Commit

Permalink
Fix clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tharun571 committed Oct 7, 2024
1 parent c74a9dd commit 1eb45e4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
review:
runs-on: ubuntu-24.04

steps:
- name: Checkout PR branch
uses: actions/checkout@v4
Expand All @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install LLVM and Clang
uses: KyleMayes/[email protected]
with:
Expand All @@ -46,12 +46,16 @@ jobs:
cd micromamba &&
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba &&
export MAMBA_ROOT_PREFIX=$GITHUB_WORKSPACE/micromamba &&
eval "$(./bin/micromamba shell hook -s posix)" &&
eval "$(./bin/micromamba shell hook -s bash)" &&
export PATH=$MAMBA_ROOT_PREFIX/bin:$PATH &&
micromamba create -n xeus-cpp -y --log-level warning -f $GITHUB_WORKSPACE/environment-dev.yml &&
micromamba activate xeus-cpp &&
cd .. &&
git config --global --add safe.directory /github/workspace &&
cmake . -B build -DCMAKE_C_COMPILER="$GITHUB_WORKSPACE/llvm/bin/clang" -DCMAKE_CXX_COMPILER="$GITHUB_WORKSPACE/llvm/bin/clang++" -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCMAKE_PREFIX_PATH=$MAMBA_ROOT_PREFIX/envs/xeus-cpp
- name: Upload artifacts
uses: ZedThree/clang-tidy-review/[email protected]

- name: Upload artifacts
uses: ZedThree/clang-tidy-review/[email protected]

0 comments on commit 1eb45e4

Please sign in to comment.