Skip to content

Commit

Permalink
Fix clang-tidy in CI (#1325)
Browse files Browse the repository at this point in the history
Also removed old docker files and scripts.
  • Loading branch information
kuznetsss authored Apr 8, 2024
1 parent 36a790d commit 7372442
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 211 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:

build:
name: Build
needs:
- check_format
needs:
- check_format
- check_docs
strategy:
fail-fast: false
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/update_docker_ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Update CI docker image
on:
pull_request:
push:
branches: [develop]
paths:
Expand All @@ -11,9 +12,10 @@ on:
jobs:
build_and_push:
name: Build and push docker image
runs-on: ubuntu-20.04
runs-on: [self-hosted, heavy]
steps:
- name: Login to DockerHub
if: ${{ github.event == 'push' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
Expand All @@ -36,6 +38,6 @@ jobs:
with:
context: ${{ github.workspace }}/docker/ci
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.event == 'push' }}
tags: ${{ steps.meta.outputs.tags }}

49 changes: 0 additions & 49 deletions docker/centos/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions docker/centos/build_git_centos7.sh

This file was deleted.

11 changes: 0 additions & 11 deletions docker/centos/install_cmake.sh

This file was deleted.

7 changes: 6 additions & 1 deletion docker/ci/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN apt-get -qq update \
# Install packages
RUN apt update -qq \
&& apt install -y --no-install-recommends --no-install-suggests python3 python3-pip git git-lfs make ninja-build flex bison jq graphviz \
clang-format-${LLVM_TOOLS_VERSION} clang-tidy-${LLVM_TOOLS_VERSION} clang-tools-${LLVM_TOOLS_VERSION} \
clang-format-${LLVM_TOOLS_VERSION} clang-tidy-${LLVM_TOOLS_VERSION} clang-tools-${LLVM_TOOLS_VERSION} \
&& update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-${LLVM_TOOLS_VERSION} 100 \
&& pip3 install -q --upgrade --no-cache-dir pip && pip3 install -q --no-cache-dir conan==1.62 gcovr cmake cmake-format \
&& apt-get clean && apt remove -y software-properties-common
Expand Down Expand Up @@ -64,6 +64,11 @@ WORKDIR /root
# Setup conan
# Note: intentionally leaving cppstd=20
RUN conan profile new default --detect \
&& conan profile update settings.compiler=gcc default \
&& conan profile update settings.compiler.version=12 default \
&& conan profile update settings.compiler.cppstd=20 default \
&& conan profile update settings.compiler.libcxx=libstdc++11 default \
&& conan profile update env.CC=/opt/bin/gcc default \
&& conan profile update env.CXX=/opt/bin/g++ default \
&& conan profile update "conf.tools.build:compiler_executables={\"c\": \"/opt/bin/gcc\", \"cpp\": \"/opt/bin/g++\"}" default \
&& conan remote add --insert 0 conan-non-prod http://18.143.149.228:8081/artifactory/api/conan/conan-non-prod
13 changes: 0 additions & 13 deletions docker/clio_docker/centos/build_boost.sh

This file was deleted.

18 changes: 0 additions & 18 deletions docker/clio_docker/centos/build_git_centos7.sh

This file was deleted.

34 changes: 0 additions & 34 deletions docker/clio_docker/centos/dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions docker/clio_docker/centos/install_cmake.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docker/compilers/gcc-12/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SHELL ["/bin/bash", "-c"]
USER root
WORKDIR /root

ENV GCC_VERSION=12.3.0
ENV GCC_VERSION=12.3.0

RUN apt update -qq \
&& apt install -qq -y --no-install-recommends --no-install-suggests \
Expand Down
13 changes: 0 additions & 13 deletions docker/shared/build_boost.sh

This file was deleted.

11 changes: 0 additions & 11 deletions docker/shared/install_cmake.sh

This file was deleted.

3 changes: 0 additions & 3 deletions docker/shared/install_openssl.sh

This file was deleted.

24 changes: 0 additions & 24 deletions docker/ubuntu/Dockerfile

This file was deleted.

0 comments on commit 7372442

Please sign in to comment.