Skip to content

Commit

Permalink
Update clang-tidy-review.yml to try avoiding using activate command
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Dec 3, 2024
1 parent 80c3377 commit fa7c43d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,10 @@ jobs:
mv ./micromamba-linux-64 ./micromamba &&
chmod a+x ./micromamba &&
export PATH="$PWD:$PATH" &&
apt-get remove -y gcc-13 &&
apt-get remove -y gfortran &&
apt-get autoremove -y &&
eval "$(micromamba shell hook -s posix)" &&
micromamba create -n clang-tidy-review -y --log-level warning -f $GITHUB_WORKSPACE/conda_env.yml &&
head -n 10 /github/home/micromamba/envs/clang-tidy-review/etc/conda/activate.d/activate-binutils_linux-64.sh &&
micromamba activate clang-tidy-review &&
bash set_conda_env_vars.sh &&
cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
micromamba run -n clang-tidy-review cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Upload artifacts
uses: ZedThree/clang-tidy-review/[email protected]

0 comments on commit fa7c43d

Please sign in to comment.