You need to sign in or sign up before continuing.
Unverified Commit 7d2acaa7 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

fix lint c workflow (#7409)

parent ed9207d7
...@@ -49,8 +49,9 @@ jobs: ...@@ -49,8 +49,9 @@ jobs:
CONDA_PATH=$(which conda) CONDA_PATH=$(which conda)
eval "$(${CONDA_PATH} shell.bash hook)" eval "$(${CONDA_PATH} shell.bash hook)"
# clang-format needs some shared libraries that conflict with the system ones. Thus, we install them from conda # clang-format needs some shared libraries that conflict with the system ones. Thus, we install them from conda
# and prepend the libraries to linker path to prioritize them # and prepend the libraries to linker path to prioritize them. `ncurses=5` is only available on the conda-forge
conda create --name ci --quiet --yes python=3.8 ncurses=5 libgcc # channel. Since we are not building or testing here, this is fine.
conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc
conda activate ci conda activate ci
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}" export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
echo '::endgroup::' echo '::endgroup::'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment