Skip to content

Commit

Permalink
chore: add camomilla support
Browse files Browse the repository at this point in the history
Add camomilla support.

Signed-off-by: Melg Eight <public.melg8@gmail.com>
  • Loading branch information
melg8 committed May 13, 2024
1 parent 12d2f06 commit 8832ca6
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .camomilla.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"namespaceReplacements":
{
"std": "",
"__cxx..": "cxx",
"boost::hana": "bh",
"boost::fusion": "bf",
"boost::spirit": "bs",
"boost::beast": "bst",
"boost::asio": "net",
"impl": "_",
"implementation": "_",
"detail": "_"
},
"genericReplacements":
{
"integral_constant": "ic",
"lambda\\(": "[?](",
"size_t": "sz_t",
"unsigned ": "u",
"long unsigned": "ul",
"unsigned long": "ul",
"type_impl": "type",
"tag_impl": "tag",
"forward": "fwd"
}
}
5 changes: 3 additions & 2 deletions ci/builders/common/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env sh
#!/usr/bin/env bash

# SPDX-FileCopyrightText: © 2022 Melg Eight <public.melg8@gmail.com>
#
# SPDX-License-Identifier: MIT

set -e
set -o pipefail

COMPILER=$1
CONAN_COMPILER=$2
Expand All @@ -25,7 +26,7 @@ cmake .. -G Ninja \
-DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=mold"

echo "Building..."
cmake --build . -j "$(nproc)"
cmake --build . -j "$(nproc)" | camomilla -c"../.camomilla.json"

mkdir -p ../report

Expand Down
8 changes: 8 additions & 0 deletions ci/docker/docker_files/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ RUN usermod -l user ubuntu
USER user
WORKDIR /home/user/work

RUN git clone --branch master --depth 1 \
https://github.com/vittorioromeo/camomilla.git \
&& cd camomilla \
&& rm -rf ./example_errors \
&& pip3 install . \
&& cd ../ \
&& rm -rf ./camomilla

# Add ru locale to cspell as user
RUN cspell link add @cspell/dict-ru_ru
RUN just --completions bash > ~/.bashrc
Expand Down

0 comments on commit 8832ca6

Please sign in to comment.