Skip to content

Commit

Permalink
Update clang-tidy-review.yml set environment variables using micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Dec 3, 2024
1 parent fa7c43d commit ab708da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
export PATH="$PWD:$PATH" &&
eval "$(micromamba shell hook -s posix)" &&
micromamba create -n clang-tidy-review -y --log-level warning -f $GITHUB_WORKSPACE/conda_env.yml &&
bash set_conda_env_vars.sh &&
micromamba env config vars set PATH=${PATH}:${PWD}/build/bin &&
micromamba env config vars set LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PWD}/build/lib &&
micromamba env config vars set PYTHONPATH=${PYTHONPATH}:${PWD}/build/lib/python &&
micromamba run -n clang-tidy-review cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Upload artifacts
Expand Down

0 comments on commit ab708da

Please sign in to comment.