Skip to content

Commit

Permalink
Update clang-tidy-review.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev authored Jan 19, 2024
1 parent 853cbdf commit 542e01a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
with:
version: "12.0.0"

- name: install mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment-dev.yml
environment-name: xeus-cpp

- name: Run clang-tidy
uses: ZedThree/[email protected]
id: review
Expand All @@ -39,12 +33,12 @@ jobs:
split_workflow: true
cmake_command: >
set -x && pwd &&
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba &&
export MAMBA_ROOT_PREFIX=/github/workspace/micromamba &&
eval "$(./bin/micromamba shell hook -s posix)" &&
./micromamba shell init bash &&
./micromamba activate &&
./micromamba install --file /github/workspace/enviroment-dev.yml &&
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj ./micromamba-bin &&
export MAMBA_ROOT_PREFIX=/github/workspace/micromamba-bin &&
#eval "$(/github/workspace/micromamba-bin/micromamba shell hook -s posix)" &&
/github/workspace/micromamba-bin/micromamba create -n xeus-cpp -y --log-level warning -f /github/workspace/environment-dev.yml
#./micromamba shell init bash &&
./micromamba activate xeus-cpp &&
cmake --version &&
git config --global --add safe.directory /github/workspace &&
cmake . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=On
Expand Down

0 comments on commit 542e01a

Please sign in to comment.