From c6484d522d02b2a6b7f9491342669550cdc4fce8 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:46:00 +0000 Subject: [PATCH] Update clang-tidy-review.yml to remove possible conflicting gfortran and gcc --- .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 dbc48d19c01..19325f8e432 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -46,11 +46,13 @@ jobs: mv ./micromamba-linux-64 ./micromamba && chmod a+x ./micromamba && export PATH="$PWD:$PATH" && + sudo apt-get remove -y gcc-11 && + sudo apt-get remove -y gfortran-11 && eval "$(micromamba shell hook -s posix)" && micromamba create -n clang-tidy-review -y --log-level warning -f $GITHUB_WORKSPACE/conda_env.yml && micromamba activate clang-tidy-review && bash set_conda_env_vars.sh && - cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON || true + cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - name: Upload artifacts uses: ZedThree/clang-tidy-review/upload@v0.20.1