Skip to content

Commit f678e0d

Browse files
mcbartonvgvassilev
authored andcommitted
Fix clang tidy review workflow
1 parent baba783 commit f678e0d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/clang-tidy-review.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,21 @@ jobs:
3434
id: review
3535
with:
3636
build_dir: build
37-
apt_packages: libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev,curl
37+
apt_packages: wget,libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev,curl
3838
exclude: "test/*,unittests/*,benchmark/*,demos/*"
3939
split_workflow: true
4040
config_file: .clang-tidy
4141
cmake_command: >
4242
cmake . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=On || true &&
4343
rm -rf build &&
4444
set -x &&
45-
mkdir micromamba &&
46-
cd micromamba &&
47-
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba &&
48-
export MAMBA_ROOT_PREFIX=$GITHUB_WORKSPACE/micromamba &&
49-
eval "$(./bin/micromamba shell hook -s posix)" &&
45+
wget https://github.com/mamba-org/micromamba-releases/releases/download/1.5.10-0/micromamba-linux-64 &&
46+
mv ./micromamba-linux-64 ./micromamba &&
47+
chmod a+x ./micromamba &&
48+
export PATH="$PWD:$PATH" &&
49+
eval "$(micromamba shell hook -s posix)" &&
5050
micromamba create -n xeus-cpp -y --log-level warning -f $GITHUB_WORKSPACE/environment-dev.yml &&
5151
micromamba activate xeus-cpp &&
52-
cd .. &&
5352
git config --global --add safe.directory /github/workspace &&
5453
cmake . -B build -DCMAKE_C_COMPILER="$GITHUB_WORKSPACE/llvm/bin/clang" -DCMAKE_CXX_COMPILER="$GITHUB_WORKSPACE/llvm/bin/clang++" -DCMAKE_EXPORT_COMPILE_COMMANDS=On
5554

src/xinterpreter.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <vector>
1818

1919
#include "xeus/xsystem.hpp"
20-
2120
#include <xeus/xhelper.hpp>
2221

2322
#include "xeus-cpp/xbuffer.hpp"

0 commit comments

Comments
 (0)