From ab708da0c9ccbd0016de0a1a3f77e04459a17853 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:58:58 +0000 Subject: [PATCH] Update clang-tidy-review.yml set environment variables using micromamba --- .github/workflows/clang-tidy-review.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index 354c8e3225c..74999f66b99 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -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