Skip to content

Commit

Permalink
Adjust xeus-cpp build invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev authored and vgvassilev committed Jan 20, 2024
1 parent 213eef1 commit 50bb5f8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,19 @@ jobs:
id: review
with:
build_dir: build
apt_packages: libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev
apt_packages: libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev,curl
exclude: "test/*,unittests/*,benchmark/*,demos/*"
split_workflow: true
cmake_command: >
pip install cmake lit &&
cmake --version &&
set -x &&
mkdir micromamba && cd micromamba && 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 create -n xeus-cpp -y --log-level warning -f /github/workspace/environment-dev.yml &&
micromamba activate xeus-cpp &&
cd .. &&
git config --global --add safe.directory /github/workspace &&
cmake . -B build -DLLVM_DIR="$GITHUB_WORKSPACE/llvm"
-DClang_DIR="$GITHUB_WORKSPACE/llvm"
-DCMAKE_BUILD_TYPE="Release"
-DLLVM_EXTERNAL_LIT="`which lit`"
-DCMAKE_EXPORT_COMPILE_COMMANDS=On
cmake . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=On
- name: Upload artifacts
uses: ZedThree/clang-tidy-review/[email protected]

0 comments on commit 50bb5f8

Please sign in to comment.