Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasten committed May 9, 2023
1 parent 9a66ed8 commit 360a6a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
WarningsAsErrors: '*'
HeaderFilterRegex: '\.h$'
Checks: "*,\
-bugprone-reserved-identifier,\
-cert-dcl37-c,\
-cert-dcl51-cpp,\
-cert-err58-cpp,\
-cppcoreguidelines-avoid-goto,\
-cppcoreguidelines-avoid-magic-numbers,\
-cppcoreguidelines-avoid-non-const-global-variables,\
-cppcoreguidelines-owning-memory,\
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
Expand All @@ -25,6 +29,9 @@ Checks: "*,\
-llvm-header-guard,\
-llvm-include-order,\
-llvm-qualified-auto,\
-llvmlibc-callee-namespace,\
-llvmlibc-implementation-in-namespace,\
-llvmlibc-restrict-system-libc-headers,\
-misc-non-private-member-variables-in-classes,\
-modernize-use-default-member-init,\
-modernize-use-trailing-return-type,\
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS OFF)
add_compile_options(-Wall -Wextra -pedantic -Werror)
if(TIDY)
set(CMAKE_CXX_CLANG_TIDY clang-tidy-10)
set(CMAKE_CXX_CLANG_TIDY clang-tidy-11)
endif()

#
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM ghcr.io/edgelesssys/ego/build-base:v1.2.0 AS build
FROM ghcr.io/edgelesssys/ego/build-base:v1.3.0 AS build

# don't run `apt-get update` because required packages are cached in build-base for reproducibility
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
clang-10 \
clang-11 \
cmake \
git \
libssl-dev \
ninja-build \
wget

ARG erttag=v0.3.7
ARG egotag=v1.2.0
ARG erttag=v0.3.9
ARG egotag=v1.3.0
RUN wget -qO- https://golang.org/dl/go1.20.1.linux-amd64.tar.gz | tar -C /usr/local -xz \
&& git clone -b $erttag --depth=1 https://github.com/edgelesssys/edgelessrt \
&& git clone -b $egotag --depth=1 https://github.com/edgelesssys/ego \
Expand Down

0 comments on commit 360a6a4

Please sign in to comment.